I have followed the instructions that Amazon has provided for website hosting using s3 buckets here.
I have created two S3 buckets, one named MyWebsite.com and a second one named www.MyWebsite.com. In S3, I have configured the latter of the two buckets to redirect to the former, as shown in the example.
I am using Route53 to set Alias record sets for the www and non-www domain. My Record Sets are as follows:
Name: MyWebsite.com, Alias Target: s3-website-us-west-1.amazonaws.com.
Name: www .MyWebsite.com, Alias Target: s3-website-us-west-1.amazonaws.com.
Accessing the non-www domain, MyWebsite.com works fine, but when I try accessing www.MyWebsite.com, I am redirected to the invalid url:
http://http//MyWebsite.com.s3-website-us-west-1.amazonaws.com/
Where is the extra "http//" (without a colon) coming from and how can I prevent it?
Edit: Actual website name is thinkingdots.com