Pick a domain name that you want to use (e.g. cdn.mycompany.com) and let us know of your choice.
We’ll tell you the domain name your CNAME should point to. E.g.:
Add a CNAME record to your DNS zone, e.g.:
We’ll issue an SSL certificate on our end, so you don’t need to provide your one. Then we’ll set things up on our side. It usually takes 1 - 2 business days. Once everything is set up and DNS changes propagate, you will need to use new URLs with your domain name. Configure your widgets to return proper URLs. E.g.:
UPLOADCARE_CDN_BASE = cdn.mydomain.com;
Replace hostname in URLs of already uploaded files served by your app. We recommend having an easily configurable setting over hard-coding hostname of your URLs.