I see a lot of sites still using the long default Amazon S3 url so I thought this might be helpful to someone. Lets say I setup a bucket for images on this domain at images.wrichards.com.s3.amazonaws.com to serve all my images. I don’t really want to type out the extra s3.amazonaws.com bit everytime I link to an image. 😛 There is a quick and easy solution to change your domain with CNAME:
images.wrichards.com CNAME images.wrichards.com.s3.amazonaws.com
Just add a CNAME record with that information and you should be good to go (obviously change my domain to yours). You can add your CNAME in your DNS entry More Info here. I can now access my bucket via the custom domain images.wrichards.com.The bucket name must match and be lowercase for this to work properly.