What is a custom domain?
A custom domain is a unique, branded domain name used for content delivery through a CDN. For example, if you have a website with the domain mywebsite.com, you create a CDN resource for static content delivery and specify a custom domain for it, such as cdn.mywebsite.com. This way, your static assets will be delivered to end users with URLs like cdn.mywebsite.com/sample.jpg. When specifying a custom domain, you can use any domain or subdomain for which you can edit the DNS records. For CNAME-based CDN resources, a third-level domain is typical, e.g.cdn.mywebsite.com. For CDN resources using DNS delegation to Gcore, a second-level domain is used, e.g. mywebsite.com.
Set a custom domain (only for static CDN recources)
The instructions below describe how to set up a custom domain for CNAME-based CDN resources. For CDN resources using DNS delegation to Gcore, the custom domain is set via nameserver change at the domain registrar instead. See the CDN resource guide for details on both options. 1. When creating a CDN resource, enter your desired domain or subdomain name in the Custom domain section. Specify additional domains by clicking the + icon.

dig command in the terminal or an online dig tool to check the record. If the record was added correctly, you will receive a response similar to the one specified above.
4. Complete the CDN resource creation. You will see the following pop-up window when all configurations are completed:

Check the DNS setup status
Our setup guide will verify that the configuration was completed successfully and identify any issues requiring resolution. 1. Open the settings of the CDN resource that you created. 2. Click Setup guide.



Specify additional domain (only for static CDN resources)
1. Go to the CDN resource list and click on the custom domain of the resource you want to configure.

NoteAdd a CNAME record to your DNS following the instructions above for each additional domain.