In this post it says its best to use CNAME only for Ec2 / route 53 setup: EC2/Route53: How do I assign my new domain name to an instance?.

However, I added:

*.mysite.org. CNAME ec2-174-129-38-xxx.compute-1.amazonaws.com.

...to my Route 53 DNS config and **www.**mysite.org works but mysite.org does not and the site 301's to non-www (mysite.org) so essentially nothing works.

Am I missing something? I guess I DO need an A record to the elastic IP?

1 Answer 1


Yes, you need an A record. CNAMEs can't be used for the root record of a domain.

  • Added A record and its working. thx. So what is Eric reffering to here?: serverfault.com/a/363294/100787
    – Hayden
    Mar 18, 2012 at 0:45
  • Note that he's talking about www.example.com, not example.com.
    – ceejayoz
    Mar 18, 2012 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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