Custom Domains
Custom Domains allow you to run your CDN resource under your own domain, rather than just on the cstatic.com subdomain you selected. To set this up, you’ll need access to your DNS zone.
Set Up a Custom Domain
Navigate to the Custom Domains tab within the CDN resource in the Customer Center. Then select the Add Custom Domain button.
Enter your desired domain in the Domain field. Please note that deployment to a top-level domain is not possible; you must select a subdomain here, e.g., cdn.your-company.com. Next, access the corresponding DNS zone for your domain and add the required CNAME record:
| Property | Value |
|---|---|
| RR Type | CNAME |
| Host | cdn.your-company.com |
| Value: | Your .cstatic.com CDN domain |
| TTL: | 3600 seconds |
Once the record is available worldwide, you can add the domain.
It may take several hours for the new CNAME record to propagate worldwide.
A Let’s Encrypt certificate will then be automatically issued and distributed to the CDN edge servers, allowing you to start using your custom domain immediately.
We automatically renew the associated SSL certificate 14 days before it expires, so there’s no need to manually replace the certificate.