You can add your domain to your Discord connections to showcase it on your profile.
In the case of a GitHub Pages domain, DNS verification sounds unable to do already. therefore, we will verify it using the https (file method).
-
Open Discord and navigate to your user settings by clicking on the gear icon next to your username.
-
In the settings menu, select "Connections."
-
Choose the domain ; a pop-up will appear. Enter your GitHub Pages domain name.
-
Click on "Next," then select "Verify using https."
-
Copy the content provided there, something like
dh=123456abc
. -
Fork this repository (you can also create a new repository).
Important
Do not change the repository name; keep it as .well-known
.
-
Edit the
discord
file in the root of the repository and replace the content that you've copied in step 5 and Commit the changes. -
Go to repository settings and enable GitHub Pages for your forked repository.
-
Click on the verify button, and the domain will be added to your Discord profile.
If this guide was helpful, please consider starring this repository. Thank you!