Report this

What is the reason for this report?

Can't get spaces subdomain to work

Posted on June 10, 2020

I can’t seem to get a subdomain to point to my spaces. I did the CDN stuff in the spaces settings then it automatically created a CNAME under the networking tab, however, it’s still not working.

The subdomain does show up as one of my endpoints on the spaces section of Digital Ocean.

Is there anything else I have to do?

My main domain is pointing to a droplet. Now, I just want a subdomain to point to spaces.

I used the DNS tool here: https://www.digitalocean.com/community/tools/dns but it says that I don’t have a CNAME set, however, it was set in the networking tab

Thanks!



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.

so the domain, at your registrar is the DNS server set to DigitalOcean? If not you can do 2 things. Either set up the cname record on the dns server typically there at the registrar or reset the dns server to digital oceans.

ns1.digitalocean.com ns2.digitalocean.com

keep in mind DNS changes can take a day to propagate.

Hi @HuzaifaPatel,

@ultimateseo 's suggestion is not all right.DigitalOcean’s DNS are

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

And,please try to add this value as CNAME record for the subdomain you want to add to Spaces’ CDN:

cds.b5g9b8e4.hwcdn.net

This value is right the second record behind {bucket}.{region}.cdn.digitaloceanspaces.com .

Here is the official tutorial

How to Enable the Spaces CDN

Hope this helps, Shiroka

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.