GitHub Pages - what am I missing?

June 5, 2014 2.8k views
The steps I've taken to set up my GitHub Pages to reach my domain: 1. register with 2. change DNS to point to digital ocean 3. create a droplet 4. create a new domain on DO that points to the droplet 5. create two A records ( -> and ( -> based on github instructions 6. create two CNAME records (www -> and (* -> @) My CNAME file at github contains (just used as an example obviously)
5 Answers
The wildcard CNAME record is most likely conflicting with the other CNAME record. Try deleting it.
The first step in troubleshooting this is whether or not you can see your site by going to If so, then its an issue with DNS settings. If not, than it's an issue with your page on the GitHub side.

Either way, it seems like you might have a DNS issue as well. When following the instructions GitHub, make sure to follow the instructions of a subdomain, as that is what www is:

It doesn't look like you need the A record pointing to and Just the CNAME pointing www to
by Assaf Gordon
This tutorial shows how to setup a DNS redirection from your own custom domain to point to your GitHub-hosted static website using DigitalOcean's DNS control panel.
Okay so now works but still does not.
Never mind, it works! Thank you
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!