The steps I’ve taken to set up my GitHub Pages to reach my domain:
My CNAME file at github contains www.example.com
(just used www.example.com as an example obviously)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This comment has been deleted
Never mind, it works! Thank you
Okay so now www.example.com works but example.com still does not.
The first step in troubleshooting this is whether or not you can see your site by going to myproject.github.io If so, then its an issue with DNS settings. If not, than it’s an issue with your page on the GitHub side. <br> <br>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: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-digitalocean-s-dns-for-custom-github-urls <br> <br>It doesn’t look like you need the A record pointing to 192.30.252.153 and 192.30.252.154. Just the CNAME pointing www to myproject.github.io
The wildcard CNAME record is most likely conflicting with the other CNAME record. Try deleting it.