Hi.
I want to install a CDN and I set up a CNAME for mydomain.com like:
s -> mydomain.netdna-cdn.com.
But, when I try to view, for example, a image from something like http://s.mydomain.com/image.jpg, It redirects me to http://s.myDEFAULT_FIRST_DIGITAL_OCEANdomain.com/image.jpg (with 404 error, obviously).
Any suggestion?
PS: I am using nginx.
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.
@daniellekwint: I don’t see where Pablo’s answer is incorrect? He’s trying to help.
This comment has been deleted
Where are you managing your DNS? I’m not sure that any configuration needs to be made on the server, itself if you’re using a third-party DNS provider, i.e. <a title=“DigitalOcean Labs Presents: DNS Management” href=“https://www.digitalocean.com/blog_posts/digitalocean-labs-presents-dns-management”>DigitalOcean’s DNS Manager</a>.