What is CDN Resource?
A CDN Resource is recommended for delivery of static assests like images, css files and video files via a CDN. The CDN Resource allows to cache content on CDN servers at user's first request and store it for further requests. It minimizes latency and it decreases load on your equipment. We can deliver content via HTTP or HTTPS. Read more about СDN Resource.
The service is targeted at:
- Online stores;
- Corporate web-sites;
- Travel companies;
- High loaded resources;
- News portals;
- Online games.
Click on Create CDN Resource in the CDN Resources section of the control panel and you will be redirected to the page where you can create a Resource.
Activate to use HTTPS to deliver your content via a CDN. Choose Use Personal SSL Certificate and install your own sertificate or enable our shared SSL certificate if you don't have your own one but want your users to get HTTPS content. If you are going to use your own certificate ensure that your it secures the CNAME (for example, cdn.site.ru) that you are going to use for content delivery via the CDN. Read more on installation.
Type in an origin source (e.g. URL of your website), where we will pull data from. The origin source can be a domain name (site.ru), subdomain (files.site.ru) or IP-address (up to 3 IP-addresses). The Round-robin algorithms will be applied for balancing between IPs.
A path to the folder (site.ru/folder) cannot be an origin source to CDN. If you want to use a folder from your site as an origin source, we advise you to create a subdomain (e.g. files.site.ru) and move there all static content. In case you cannot do it, please contact customer support via the chat, ticket in the control panel or sent an email at firstname.lastname@example.org.
Select the protocol that we will use to pull the content from your server. Read more on pull protocol.
Set a CNAME (an alias) that you will use to deliver the CDN content. If necessary, you can specify additional CNAME records for your site. But no more than 7 records for a CDN Resource. To do this, please, click +. Read more on CNAME.
Web Crawlers Block
The option is enabled by default. It allows to exclude duplicates of your website from search results. If you want your domain used for content delivery through SkyparkCDN to be indexed, remove the tick. Read more.
If necessary, adjust additional features for your site.
In a CDN files caching depends on HTTP headers on the origin and settings in the control panel such as Cache expiry, Ignore set-cookies, Ignore query string. Be aware that your server HTTP headers override the control panel Cache Expiry. Read more.
Content Aсcess Policy
You can control access to your Resource for certain IPs, domains or countries. To do that go to the CDN Resource settings, then Advanced Settings. There are 2 types of access policy:
Allow - you allow access to all except the IP, country or domain that you specified;
Block - you block access to all except the IP, country or domain that you specified. Read more.
Enable the option to deliver .flv and .mp4 video files via a CDN. Read more.
The option allows to enable access to your files only with an access key in access key request. Read more.
Click the Create Resource button. Activation time depends on the equipment load and normally takes up to 30 minutes. As soon as your CDN Resource is created, it will get the Active status
Go CDN Resource Settings.
All server locations are available by default. Select necessary locations on the Locations tab if needed. Read more.
Configure the CNAME if you want to use it for content delivery. Read more.
Integrate your website with the CDN. You can find the instructions on integration with CMS at following links:
- 1С Bitrix,
- Presta shop,
- Zend Framework,
- And others
Especially for those customers who do not use a CMS, we have prepared another guide. Read more about integration of the site with CDN.