Click here to close this tab and return to the app.

How to set up a custom sub-domain for Amazon S3 hosted images

If you have images or other content hosted on Amazon S3, then the default domain will be s3.amazonaws.com, resulting in URLs like the following:
 
http://bucketname.s3.amazonaws.com/image.jpg
or
http://s3.amazonaws.com/bucketname/image.jpg

If you want the URL to contain your own domain name, then there is an easy way to achieve that. Follow the instructions below:

  1. Log into your domain registrar's website, e.g. GoDaddy, NameCheap, Network Solutions, Yahoo! Domains, etc.
  2. Navigate to the management area for your domain name.
  3. Add a new sub-domain that matches the name of the bucket, for example, image.mydomain.com.
  4. Navigate to the custom DNS settings for the new sub-domain
  5. Add a CNAME entry that maps your new sub-domain name to Amazon's domain name, like this:
     
    image.mydomain.com => image.mydomain.com.s3.amazonaws.com
     
    In this example, image.mydomain.com is the name of the custom sub-domain and also the name of the bucket.

  6. Allow about 24 hours for the changes to propagate through the Internet.
  7. Contact us to update your feed settings with the new domain name.