I’m using Route 53 as my DNS provider and I’d like to use DigitalOcean’s CDN, how would I go about routing a subdomain to a DO CDN?
I’ve setup 2 CNAME records, one to the origin endpoint and one to the edge endpoint
sub1.mydomain.com CNAME space.nyc3.cdn.digitaloceanspaces.com
sub2.mydomain.com CNAME space.nyc3.digitaloceanspaces.com
The first one gives me a 404 The second one gives me a NoSuchBucket response
How do you route a subdomain to your DigitalOcean Spaces CDN with a different DNS provider?
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.
To use Let’sEncrypt certificate with your subdomain you would need to move you DNS management to DigitalOcean.
Steps to using Let’sEncrypt:
You can also bring your own certificate in which case the DNS management can be elsewhere (Route 53 for example) but you do need to setup the CNAME manually. For a Space named <space> in <region>which is configured with the domain www.mydomain.xyz, you would need a CNAME www.mydomain.xyz => <space>.<region>.cdn.digitaloceanspaces.com
https://www.digitalocean.com/docs/spaces/how-to/customize-cdn-endpoint/
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.
