Skip to content
Discussion options

You must be logged in to vote

Happy to help — this is covered in the learning path too, but here is the short version:

  1. On GitHub: in your Pages repo go to Settings → Pages and enter your domain in "Custom domain" (use the root domain, e.g. example.dpdns.org). GitHub saves a CNAME file in your repo.
  2. DNS records (at your DNS provider / wherever your nameservers point):
    • For the root domain, add the four GitHub Pages A records: 185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153
    • For www, add a CNAME record pointing to <your-username>.github.io (not to your repo name).
  3. Wait for DNS to propagate — usually 15 minutes to a few hours. You can check with dig example.dpdns.org until the A records show the GitH…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wearegravite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants