By casecnikov
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>
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.
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
