Question

Can't get spaces subdomain to work

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!

Show comments

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.

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

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.