How to set up custom CDN CNAME?

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.:

mycompany.ucarecdn.com

Add a CNAME record to your DNS zone, e.g.:

cdn.mycompany.com CNAME mycompany.ucarecdn.com

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 = "https://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.

  • It helps :+1:
  • It doesn’t help :-1:

0 voters

1 Like

I’ve set up the CNAME on my domain as describe above. Do I need to use a CDN like Akamai, or is the sub-domain all I need to access images on UC now?

Hi @ric,

You don’t need to connect a CDN on your end, this is what we’ll do. You just need to set a proper CNAME record in your DNS zone settings. I’ve sent you all the additional details to your email.

1 Like

Hi @Alex am I right that this is only available in the starter plan and up?

Hi @GriffinSauce :wave:

Yes, this feature is available on paid plans only.

Ok, I have set up a custom cdn, please check if there any error.

thanks.

Hi @Niew_Yaw_Shyang, please contact us at help@uploadcare.com and let us know the domain you’d like to set up. We’ll provide further instructions by email. Thanks!