Mapping an amazon server to a domain name registered with name.com
- by S4M
I have an amazon S3 web server and a domain name registered in name.com (the name is sam-experiments.com). I am trying to have a static page hosted on the amazon web server to be displayed on http://www.sam-experiments.com
On the web server side, my bucket name is 'www.sam-experiments.com', and it links to here: http://www.sam-experiments.com.s3-website-eu-west-1.amazonaws.com/
On name.com, I added a new record with the followin characteristics:
Record Type: CNAME
Record Host: www.sam-experiments.com
Record Answer: www.sam-experiments.com.s3.amazonaws.com. (as specified in the documentation here: http://docs.amazonwebservices.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingCustomURLs)
TTL: 300
However, nothing gets displayed on www.sam-experiments.com, and I am not able to find what I am doing wrong.
I really would appreciate some tip.
Thanks!
Note: I already posted this question in stackoverflow, but didnt get any answer, so I thought posting here may be more appropriate.