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

I bought a domain from GoDaddy, say

I was able to forward to

Not I've changed my domain nameserver to Amazon Route 53, I want to do the same thing but wasn't able to do so, here's what I've tried:

Create a new record set, name is, type is CNAME, value is

But this doesn't work.

I have another CNAME,, which points to my BitBucket (value =, that one works.

share|improve this question
@Adam no, the CNAME as presented in the question definitely cannot work. – Celada Mar 3 '12 at 16:25

1 Answer 1

up vote 1 down vote accepted

The contents of the CNAME record cannot be a URL. It must point to another name in the DNS, just like does.

It sounds like what you want to do is host a web site at which redirects all incoming requests to If so, that's exactly what you should do:

  1. Set up a web server somewhere (e.g. Apache)
  2. Configure it to redirect all incoming requests (e.g. using Apache's Redirect directive)
  3. Either:
    • Install a CNAME record for that points to the canonical name of the server that hosts the web site, OR
    • Install A and AAAA records for that give the IP addresses of the server that hosts the web site.
share|improve this answer
Are there good redirect service provider I can use rather than setup my own web server (while still use route 53 as my dns)? Thanks! – Derek Li Mar 3 '12 at 20:22
@DerekLi - this answer is probably too late to help, but for anyone else, Amazon S3 is now a good simple (and cheap) option for this… – Ben Dec 18 '12 at 16:00

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.