Search code examples
amazon-s3cnamebucket

Amazon S3 Cname Setup


I have created a bucket in Amazon S3 and pointed a cname to its endpoint.

Cname = Image.TigerSupplies.com

Endpoint = http://tigersupplies.s3-website-us-east-1.amazonaws.com/

Both Point to the same IP Address.

But Images.Tigersupplies.com returns an error.

This must be on Amazons Part.


Solution

  • Apparently the Bucket Name needs to match the cname.

    I have read somewhere on the Amazon AWS forums, that you could not include special characters including periods in a bucket name.

    Interestingly enough, the cname still points to the other bucket (tigersupplies) and Amazon automatically redirects it to the bucket called images.tigersupplies.com.