/.well-known

Link my GitHub page's domain to the Discord Connections

Linking a Github Pages Domain to Discord Connections

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).

  1. Open Discord and navigate to your user settings by clicking on the gear icon next to your username.

  2. In the settings menu, select "Connections."

  3. Choose the domain ; a pop-up will appear. Enter your GitHub Pages domain name.

  4. Click on "Next," then select "Verify using https."

  5. Copy the content provided there, something like dh=123456abc.

  6. Fork this repository (you can also create a new repository).

Important

Do not change the repository name; keep it as .well-known.

  1. 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.

  2. Go to repository settings and enable GitHub Pages for your forked repository.

  3. 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!