Can't get spaces subdomain to work

Posted June 10, 2020 1.6k views
DigitalOceanCDNDigitalOcean Spaces

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: but it says that I don’t have a CNAME set, however, it was set in the networking tab


1 comment

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.

Submit an Answer
2 answers

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.

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

Hi @HuzaifaPatel,

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

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

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

Here is the official tutorial

How to Enable the Spaces CDN

Hope this helps,

  • Hi,

    Yes, I have DNS set like that.

    Sorry, what do I have to do with ?

    My CNAME is currently set to the following:

    TTL (seconds): 3600

    How does this look?


      is what I have my cname pointed too. is the example. It loads appropriately. If youd like to confirm the cname target which is likely similar to yours you may find useful.
      using that tool whatever the cname record is for should give a clue to what your values should be.

      edited by MattIPv4
  • The dns servers do not require the third option. can be added, but its optional.

    As for the added stuff, I have no clue what youre talking about. But I know that the cdn I created points to the endpoint that you can find in the spaces section. Typically its the bucket name then (depending upon the region you have choosen)

    But thats only really important if you are not using the dns server provided by digitalocean. If you are using them then this shoukd be auto populated for you.