Question

How to add CNAME alias to DO Spaces

Hello! I have a problem. I would want to add my own domain for my space. I’ve tried using CNAME and redirecting subdomain.domain.eu to bucket.ams3.digitaloceanspaces.com.

But when I try to enter, it writes an error…

<Error> <Code>NoSuchBucket</Code> <BucketName>subdomain.domain.eu</BucketName> <RequestId>tx000000000000021dd8582-0062d5a328-24f6a09d-ams3c</RequestId> <HostId>24f6a09d-ams3c-ams3-zg03</HostId> </Error>


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.

KFSys
Site Moderator
Site Moderator badge
July 19, 2022

Hi @casecnikov,

As far as I understand you correctly, you need to look at this article here:

https://www.digitalocean.com/blog/custom-subdomains-for-spaces-cdn-endpoints

It should help you out with the problem you are facing. Additionally, I found a similar question which might shed some light on your problem as well:

https://www.digitalocean.com/community/questions/any-update-on-cname-usage-with-spaces

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up