How to config Amazon Route53 working without www in sub-domain

Posted by romuloigor on Server Fault See other posts from Server Fault or by romuloigor
Published on 2012-11-19T15:20:45Z Indexed on 2013/07/02 5:07 UTC
Read the original article Hit count: 620

edit: Amazon now supports this. http://aws.typepad.com/aws/2012/12/root-domain-website-hosting-for-amazon-s3.html

I have my domain config in Route53 at Amazon AWS

exec ping command in my domain without www

$ ping gabster.com.br
ping: cannot resolve gabster.com.br: Unknown host

exec ping command in my domain with www

$ ping www.gabster.com.br
PING s3-website-sa-east-1.amazonaws.com (177.72.245.6): 56 data bytes
64 bytes from 177.72.245.6: icmp_seq=0 ttl=244 time=25.027 ms
64 bytes from 177.72.245.6: icmp_seq=1 ttl=244 time=25.238 ms
64 bytes from 177.72.245.6: icmp_seq=2 ttl=244 time=25.024 ms

Route 53 -> Create Record Set -> Name: [ ].gabster.com.br Set CNAME value: www.gabster.com.br

DISPLAY ERROR

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

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about amazon-s3