I need help pointing a custom domain at my github page.
I own resistorings.com, registered with Godaddy. I've set up a github page at stevengoldberg.github.io. I want both resistorsings.com and www.resistorsings.com to point to the github site. I've gone through the instructions here
, but I can't seem to make it work.
I have a file called CNAME in the root directory of my github repo, which contains only the line "resistorsings.com". My zone file for resistorsings.com has a CNAME entry for www which points to stevengoldberg.github.io.
When I enter "dig www.resistorsings.com +nostats +nocomments +nocmd" in the terminal, I get:
;www.resistorsings.com. IN A
www.resistorsings.com. 600 IN CNAME stevengoldberg.github.io.
stevengoldberg.github.io. 3600 IN CNAME github.map.fastly.net.
github.map.fastly.net. 13 IN A 18.104.22.168
Which seems right. But www.resistorsings.com
gives me a github 404 page.
So what am I doing wrong here? And what's the right way to make resistorsings.com point to github in addition to www? Should I use a 301 redirect?