Getting Started
Whether you run a WordPress website with thousands of monthly visitors or a web application with millions of daily visitors, this guide helps you activate and configure the Arvancloud CDN service so your website or application becomes faster and more secure on a global scale.
Step 1: Create an Account and Add Your Domain
To activate the CDN service for your website, first create an Arvancloud account. After signing up and logging in to the Arvancloud panel, click the CDN product, and on the page that opens, select Add New Domain.
In the window that opens, enter your domain name. After you read and accept the terms of service, Arvancloud automatically imports your DNS records into your panel.
Step 2: Choose the Traffic Transfer Method (When Adding a Subdomain)
After adding a subdomain, choose the traffic transfer method: NS Delegation or CNAME Setup. If you choose NS Delegation, you then need to change your website's nameservers, in the panel of the registrar you bought your domain from, to the nameservers assigned by Arvancloud.
Note that if you have your own nameservers and the Enterprise plan is active on your service, you can use your own custom NSs.
In CNAME Setup mode, traffic is transferred by adding a CNAME record at your domain's DNS provider.
Step 3: Check the A Records and Their IP Addresses
When you add your domain in the Arvancloud panel, the A records for your root domain and the www subdomain are automatically added to the DNS records section of the Arvancloud CDN.
Never delete the A records that were automatically added to the DNS Records section of the DNS settings.
The value of these automatically added A records must be the IP address of the origin server hosting your website. So, in the Arvancloud panel, go to CDN > DNS Records and check the IP address of these A records. If any of them points to an address other than your origin server's IP, use the edit option to change it to your origin server's IP address.
If no records were transferred automatically for your domain, you need to move your domain's DNS records to the Arvancloud panel manually.
Step 4: HTTPS Settings
Once you have completed the steps above and the status next to your domain name in the CDN shows Active, configure HTTPS. To do so, go to HTTPS Settings in the CDN menu.
If your website already has an SSL certificate, go to HTTPS Settings, and under Certificates, click Private Certificate. In the window that opens, upload your .key and .cert files in the related fields and click Load Certificate.
Another way to support HTTPS, with no extra effort and in just one click, is the free Arvancloud SSL certificate, which is issued by Let's Encrypt. To use it, click Issue Request for the Arvancloud certificate. You can request the Arvancloud certificate for your root domain and your subdomains.
Step 5: Redirect Settings
If your main domain name is, for example, example.com and traffic to www.example.com must be redirected to example.com (or, conversely, your main domain name is www.example.com and traffic to example.com must be redirected to it), set this up in the CDN Dashboard, under Redirect Domain.
When HTTPS is supported, the connection between Arvancloud edge servers and your website's end users should use HTTPS instead of HTTP. This way, even if a user sends a request to the website over HTTP, the connection is redirected to HTTPS. To set this up, go to HTTPS Settings in the CDN and enable Set HTTPS as Default.
If you configure a redirect (either for the domain name or from HTTP to HTTPS) on one side (your origin server or the Arvancloud panel), do not configure it on the other side, as this causes a Too Many Redirects error. For example, if you have set up the HTTP to HTTPS redirect on your origin server, do not enable automatic HTTP to HTTPS redirection in the CDN HTTPS Settings.
Step 6: Turn On the Cloud Icon
Finally, to activate the CDN on your website, select your domain, go to DNS Records in the CDN menu, and turn on the cloud icon for the records you want.