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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.