Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am hosting a domain on namecheap with namecheap's DNS service.

I want to point to with a CNAME record. This works fine.

However, I also want to point the top level name to github's static page hosting service at When I add the A record for this, it works as expected BUT the previous CNAME now also redirects to github instead of wordpress.

In my terminal I typed dig and it looks like it SHOULD point to wordpress:

 ; <<>> DiG 9.7.6-P1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39614
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0

;        IN  A

;; ANSWER SECTION: 77  IN  CNAME 3533 IN  CNAME   17  IN  A   17  IN  A   17  IN  A   17  IN  A   17  IN  A   17  IN  A

;; Query time: 43 msec
;; WHEN: Thu Feb 28 02:02:18 2013
;; MSG SIZE  rcvd: 189

But as I mentioned, visiting in my browser redirects to my github static page. What could be wrong?


share|improve this question
It would be nice to see the actual domain. – NickW Feb 28 '13 at 9:58
it's if that helps you – Jacob Lyles Feb 28 '13 at 10:03
As you see, the domain helps immensely :) – NickW Feb 28 '13 at 10:14

2 Answers 2

up vote 2 down vote accepted

This is not a DNS problem (although there is one problem: I get "... has no A record" instead of

What you observe with digest is caused by a http redirect (301 Moved permanently).

share|improve this answer

You set everything up correctly (except for having no A record at the moment).

The 301 redirect from to is coming from the service. You will need to contact them to have this corrected.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.