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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I host my site at

My DNS entries in Route53 are as follows:      A      300      NS  172800      SOA  900

I would like to redirect traffic from to, as currently this just returns a 404. This question on SO suggested a PTR record, and I added that:  PTR           300

but it didn't work. What should I be doing?

share|improve this question
If you actually want to send a HTTP redirect, you can't do it inside DNS. If you don't care about the URL in the address bar changing, use a CNAME as pauska suggests. If you do care, you will need a web server of some sort to send the 301. Some DNS providers have this as a service, but I don't believe Route53 does this. – cjc Dec 4 '12 at 16:33
@cjc I don't care about the URL in the address bar. – fredley Dec 4 '12 at 16:35
up vote 8 down vote accepted

PTR is for setting up reverse IP lookups, and it's not something you should care about. Remove it.

What you need is a CNAME for www:  CNAME 300
share|improve this answer
This is not a redirect. In case, you have to define callback URL in some sort of third party service, above solution will not work. For example oAuth(Facebook, Twitter) Authentication. – Ck- Mar 13 '13 at 9:32

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.