Configuring CNAME
A canonical name record (CNAME) is used in the Domain Name System (DNS) to create an alias from one domain name to another domain name.
You don't have to use it; you can simply use the CDN URL for the CDN Integration.
If you wish to set a CNAME for your CDN Resource, here are the instructions on how to do it.
First, you have to specify the CNAME in the CDN77 Control Panel. Please log in to the Control Panel and select your CDN Resource for which you wish to add the CNAME. Then in the CNAMES & SSL section, you should add your CNAME by clicking on the Add CNAMES button.
Once this is done, you will have to add the CNAME record to your DNS.
In the Overview section of the Resource, you can see the URL, labelled as "CDN Resource URL". You will need that in order to add the CNAME record in your DNS settings.
To add the CNAME in your DNS, log into your domain name control panel provided by your hosting provider and find the editing area for your DNS settings.
If you're not sure how to do this, contact a representative from your hosting provider. They'll be able to provide instructions on how to configure the record. Depending on your DNS provider, it may take up to 24 hours for the DNS changes to fully propagate.
Confirming that your CNAME has been installed
Here's an example using Linux and Windows command-line utilities to confirm the configuration of your CNAME record
In Linux systems
In Windows systems
In Windows systems, we have two options on how to confirm if the CNAME has been installed.
In the first and fastest option, we simply check the DNS records for the domain via nslookup:
The second option is to execute the nslookup command to show us our DNS server. Then, specify that we want to use the nslookup to verify a CNAME as follows:
set q=cname
www.domain.com
Updated on 10th September, 2024