Report this

What is the reason for this report?

How to setup ssl for Spaces CDN

Posted on March 7, 2026

I added a Digital Ocean Spaces and want to enable the cdn feature with an own domain. I added nameservers cdn.domainname.com and pointed them to Digital Ocean. I then enabled the cdn function in Spaces and get asked to add a subdomain. This is where I don’t know what to do. I tried assets.cdn.domainname.com, cdn.domainname.com but somehow the certificate isn’t valid



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!

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.