Report this

What is the reason for this report?

Using Amazon S3 Image hosting with Digital Ocean

Posted on October 22, 2015

When I use Amazon S3 Image storage, the images have their own urls instead of having urls at my website.

If I want the images to have a url on my website and use Amazon S3 at the same time with DigitalOcean. (For example myweb.com/images/image1.jpg). Is that possible?

If it isn’t possible then are there other alternatives to getting the same results?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In order to serve content from S3 using your domain name, you can set up a CNAME record pointing a subdomain to your S3 bucket. For instance, you could use something like:

images.myweb.com CNAME 			my.bucket.name.s3.amazonaws.com.

For more info, check out the Amazon S3 docs: Customizing Amazon S3 URLs with CNAMEs

Is Digital Ocean got connectivity issue with Amazon AWS? My sites got very slow access to there.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.