Set Up Your Resource and CNAME
First you need to set up a website (resource).
Configure cPanel Hosting
If you want to get your website using the CDN, you need to create a subdomain in cPanel.
1. Log in to the cPanel and edit the DNS settings. Find Simple DNS Zone Editor in the menu or search for ‘DNS’ using the search box.
2. In the DNS Zone Editor you have to Add a CNAME Record. You need to enter the Name and CNAME that you will find in CDNlion™ Dashboard.
See steps 3. – 5. for more details.
3. You should have already setup a website (resource) using CDNlion™ Dashboard. The setup provided you with a CNAME which has been set to pull the content from your domain. Open CDNlion™ Dashboard (app.cdnlion.com) to get your unique Hostname.
4. When you open Dashboard, find the website (resource) you are trying to configure and click Manage.
5. You will see Information on how to set up DNS right away. Under number 3 you should see the Hostname (Name) you’ve already set up and CNAME (Value).
6. Enter the Name and CNAME and click on the Add CNAME Record button to create the DNS entry for your domain.
Be aware that changes in DNS settings usually need some time to process. In most cases, it should only take 10 or 15 minutes. However, your DNS settings might be slower to update and it can sometimes take up to 24 hours for the DNS to start working.
This guide is assuming that you are using a web host’s DNS, so if you are using name servers for your domain name which point to your web host, the one they have given you, then you will likely be using the cPanel DNS settings.
Alternatively, if you’re setting up your DNS with your registrar like GoDaddy, you will need to edit the records on their end rather than through cPanel. In this case it will look like in the image below which shows how to enter a new record using GoDaddy.com DNS Manager (for those who have domains registered with godaddy.com or similar providers).
You have just created the CDN hostname on your control panel and you have pointed it so that it pulls content directly from your top level domain.