Question

I have a custom domain with namecheap that I want to redirect to my github page which is at myuser.github.io.

My host records at namecheap have '@' and 'www' A records with an IP of 192.30.252.153. At the root of my github page (in the repo) I have a cname record with mydomain.com. in the file. When I browse to my custom domain in a web browser I get a message that the github page cannot be found.

Ideas? I found a few blog posts about setup, but none of the options worked for me.

Was it helpful?

Solution 2

To support the improved Github Pages, set your records up like this:

HOST NAME   IP ADDRESS              RECORD TYPE     TTL
@           192.30.252.153          A (Address)     1800
www         <username>.github.io    CNAME (Alias)   1800

Then, fill out one row under SUB-DOMAIN SETTINGS:

HOST NAME   IP ADDRESS              RECORD TYPE     TTL
@           192.30.252.154          A (Address)     1800

More information here: http://davidensinger.com/2013/03/setting-the-dns-for-github-pages-on-namecheap/

OTHER TIPS

Namecheap has changed things. This is what I did: My Namecheap Configuration

This is what is working for me.

In my pages repository, the CNAME is just:

phillipamann.com

I hope that helps.

What worked for me was the following...

Hostname IP Record Type TTL

@ 204.232.175.78 A(Address) 1800

www 204.232.175.78 A(Address) 1800

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top