Report this

What is the reason for this report?

How to use my digitalocean spaces custom subdomain cdn.example.com with django

Posted on December 20, 2020

How to use my digitalocean spaces custom subdomain cdn.example.com with django.

How do i change from the default endpoint to my cdn.example.com. on django



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.

Hi there @tdbvume,

What I could suggest here is to follow the steps from this step by step tutorial on how to set up Object Storage with Django:

https://www.digitalocean.com/community/tutorials/how-to-set-up-object-storage-with-django

Mainly take not of step 5 where it shows how to update your settings file with your Spaces credentials, so that you can take advantage of the spaces setup to display the image.

Regards, Bobby

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.