Question

spaces custom domain

I got this notification in my inbox.

Announcing Custom Subdomains with SSL for Spaces CDN.

You can now map a custom subdomain to Spaces CDN, securing it with an automatically provisioned Let’s Encrypt certificate or by uploading your own.

How to set it up?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

It’s easy!

Here is a video walkthrough on YouTube: https://www.youtube.com/watch?v=ETfzaw4WNiw

Here is the official product documentation with instructions: https://www.digitalocean.com/docs/spaces/how-to/customize-cdn-endpoint/

How about not using subdomain but at actual root domain? We might want to just use space the same way s3 is used for static websites, in which case we want to use a root domain and not a sub-domain.

Thanks for the reply. I am used a subdomain of a domain with the dns already managed on cloudflare. If I create a cname record to the space end point it will give a “too many redirection” errors. Do you have solution for this problem?