I\'ve setup my site on Amazon EC2 server. I am using Route 53 and the servers DNS have already propagated correctly when I set them on Godaddy. I have a few problems. AT the end
In Route53 you could set up a PTR(Pointer) Record to go from www.yoursite.com
to yoursite.com
. This is what I use to set up redirection from mydomain.com
to www.mydomain.com
I think you can do what you want with S3 static website hosting. You can point www.domain.com to an empty S3 bucket with a catch-all redirection rule: http://docs.aws.amazon.com/AmazonS3/latest/dev/HowDoIWebsiteConfiguration.html
As an added bonus, it will take load off of your EC2 instance.
We also have used the WWWizer, which is just a free service that returns all traffic with a www appended to the front of the naked domain. Set the @ record to point to 174.129.25.170 and set up the www cname or the * cname to point to the load balancer / elastic IP domain.