I want my customer's CDN site CNAME to be id.r.customercnamedomain.net. How I can configure it to mask the default(id.r.worldcdn.net)?
Go to your DNS registrar and delegate your desired domain (eg, customercnamedomain.net) NS records to ns1,ns2, ns3 and ns4.worldcdn.net. If the NS is not delegate properly, the dashboard UI would return error message saying the domain is not added successfully.
In the OnApp Dashboard navigate to 'CDN > CDN Management > Domain Setting' , and fill in your desired domain. The system will validate whether the domain has delegated properly.
We use dig command to verify the domain NS delegation. Run the following command and check whether the NS has been delegated correctly.
dig +trace +additional +noanswer domain.com
The correct result from the dig command should show the following:
domain.com. 172800 IN NS ns1.worldcdn.net.
domain.com. 172800 IN NS ns2.worldcdn.net.
domain.com. 172800 IN NS ns3.worldcdn.net.
domain.com. 172800 IN NS ns4.worldcdn.net.
ns1.worldcdn.net. 172800 IN A 126.96.36.199
ns2.worldcdn.net. 172800 IN A 188.8.131.52
ns3.worldcdn.net. 172800 IN A 184.108.40.206
ns4.worldcdn.net. 172800 IN A 220.127.116.11
Before: 123456.r.worldcdn.net (CDN Resource CNAME)
After: 123456.r.yourdomain.com (CDN Resource CNAME)
It is strongly advisable that you dedicated the root domain to OnApp CDN. This is important to avoid interruption to the operation of CDN service due to intermittent DNS issues with your root domain DNS or any other cascading events.
No further records can be added to this CDN domain once you added in the dashboard, thus you are advised to use a new domain without existing record.. For example, you can't set an A record to this domain after that.