A simple method to let Discord connects to your GitHub Pages domain in profile connections and recognise your ownership to it, also showing on your profile.
Fork this repo and let the name intact, replace the content in .discord
file to your own content and enable GitHub Pages in repo settings as below:
You can find your verification (.discord) content here when connecting domain in Discord:
Once the DNS check is complete successfully, enjoy your ownership proof! lel
Thanks [oyepriyansh] for this trick. Visit their repo here.
Perhaps it also works for custom domain linking in GitHub Pages I guess. DNS method (may) sounds unable to do, but I have not tested.
P/S: For Bluesky users, custom handle works too! Just put the verification file with content into a specified path (/.well-known/atproto-did
) in user settings.