I’m trying to direct my main site URL to a CDN where the files are stored. My backend is in a droplet so I’m using DO DNS. The problem is it doesn’t allow me to use @ as a hostname in the cname record to redirect my domain to the cdn, keeping my subdomain on DO.
Any ideas?
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!
Hello, @camilamarencofotografia
A CNAME record defines an alias for an A record; it points one domain to another domain instead of to an IP address. When the associated A record’s IP address changes, the CNAME will follow to the new address.
On DigitalOcean, CNAME records have the following fields.
You can check our docs for managing DNS records. For CNAME follow the link below:
https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/#cname-records
Hope that this helps! Regards, Alex
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.