Skip to main content

DNS Records Cloud Option

Once you have moved your website to Arvancloud and finished the DNS configurations, you can check the A Records of your domain and subdomains in the DNS Records under the CDN section of your user panel.

Turning on the cloud option will accelerate and secure the traffic through the CDN edge servers. The activated cloud option means that the traffic of your domain and subdomains will pass through the Arvancloud CDN edge servers. When turned off, the traffic is going through your domain directly.

You need to activate the cloud option to activate features such as caching, web acceleration, security, and receiving logs on the domain and subdomains.

The Arvancloud CDN service is only available to HTTP and HTTPS (ports 80 and 443) services.

You can turn on your cloud icon using thsi sample code via API:

curl --location --request PUT 'https://napi.arvancloud.ir/cdn/4.0/domains/example.com/dns-records/Record_ID/cloud' \
--header 'authority: napi.arvancloud.ir' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: API KEY 1 2 3 4' \
--header 'content-type: application/json' \
--data '{"cloud":true}'

By default, when the cloud icon is on and traffic is passing through Arvancloud's edge servers, there is no limit on upload volume. In this case, the size of the headers of each request cannot be more than 16 KB. Also, the maximum time between two consecutive writes will be 180 seconds.

If WAF is enabled on the domain, the maximum body size of the sent request can be 524,288 bytes.

Arvancloud CDN can use ports 80, 8080, 8880, 2052, 2082, 2086, 2095, 443, 2053, 2083, 2087, 2096 and 8443 to communicate with the end user and any port to communicate with your main servers on HTTP or HTTPS.

Please note that the cloud option for the A Records of any other services such as emails or FTP must not be active because it can disrupt the performance of the service. To deactivate, click on the cloud option opposite the feature.

Here is a list of the services that should not have an activate cloud option:

  • autodiscover

  • calendar

  • chat

  • cPanel

  • cvs

  • e

  • email

  • exchange

  • ftp

  • game

  • gameserver

  • git

  • google

  • imap

  • irc

  • local

  • localhost

  • mail

  • mobilemail

  • mx

  • panel

  • pda

  • pop

  • repo

  • secure

  • sftp

  • sites

  • smtp

  • ssh

  • ssl

  • stream

  • streaming

  • svn

  • vid

  • video

  • vids

  • vpn

  • webmail

  • webstats