Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

edit: Amazon now supports this.

I have my domain config in Route53 at Amazon AWS

exec ping command in my domain without www

$ ping
ping: cannot resolve Unknown host

exec ping command in my domain with www

$ ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=244 time=25.027 ms
64 bytes from icmp_seq=1 ttl=244 time=25.238 ms
64 bytes from icmp_seq=2 ttl=244 time=25.024 ms

Route 53 -> Create Record Set -> Name: [ ] Set CNAME value:


"RRSet of type CNAME with DNS name is not permitted at apex in zone"

share|improve this question
Hi, please note that answers should be provided in the Answers section below, NOT as edits to the question. – Michael Hampton Jan 8 '13 at 14:45
up vote 2 down vote accepted

You can't use a CNAME for the root-level domain, it violates the RFCs and can cause a number of problems. Unfortunately, Amazon doesn't have a workaround for S3-hosted websites.

edit: Amazon now supports this.

There are services like WWWizer that you can use to redirect to the WWW, but they're not a perfect solution.

share|improve this answer
You CAN use CNAME's with root-level domains it does not violate RFC. The problem is that CNAME can not co-exist with other records e.g. MX. From RFC1034...... If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different. This rule also insures that a cached CNAME can be used without checking with an authoritative server for other RR types. – James Park-Watt Nov 19 '12 at 15:42
@JamesPark-Watt… "The problem is the DNS RFC (RFC1033) requires the "zone apex" (sometimes called the "root domain" or "naked domain") to be an "A Record," not a CNAME." – ceejayoz Nov 19 '12 at 15:45
Perfect -> link Root Domain Website Hosting for Amazon S3 – romuloigor Jan 8 '13 at 13:40
Apex CNAMEs are not legal. It's been explicitly spelled out in RFC2181 for awhile now. – Andrew B Aug 22 '15 at 1:09

Create a resource record set (Type A - IPv4 address) that "has the same name as the hosted zone by leaving the Name field blank".

Amazon Route 53 - Edit Record Set

This is the warning Route 53 gives when trying to add the name "@", which I was custom too using for Bind nameservers. So don't use '@', use an empty name ''.

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.