Say I have domain.com and I would like it to serve up static content hosted on a DigitalOcean Space.
I updated my DNS registrar (GoDaddy) to have ns1.digitalocean.com and ns2.digitalocean.com as the nameservers per https://docs.digitalocean.com/tutorials/dns-registrars/
I then created a DigitalOcean Space, uploaded my files and added www.domain.com as a custom subdomain:
Doing so added a CNAME record to the domain.com:
Server: UnKnown Address: 192.168.1.1 Name: www.domain.com
What do I need to do to make it so that www.domain.com is serving up content from the CDN?
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!