Knowledge Base

Articles list
Scroll to top

Getting Started: Creating and Configuring CDN Resources

To enable the CDN from the control panel:

  1. Under Networks and Services, open the CDN page
  2. Click Create CDN resource
  3. Choose a CDN provider:

    СDN SelectelCDN Akamai
    Points of presence around the world262200
    Points of presence in Russia1332
  4. Enter a CDN Resource Name. Resource names are added for convenience.
  5. Assign a content origin (source):
    1. Select the Protocol over which the CDN node and content source will communicate: HTTP or HTTPS
    2. Enter a Domain
      For content sources, you can use personal web servers and containers in Cloud Storage, which are defined by domain names or IP addresses.

      The CDN communicates with the primary server by the domain or IP address to directly download files. We recommend using domain names in place of IP addresses as they are easier to work with and a more universal approach.

      Multiple domains can be added after the CDN resource has been created.

      You can enter Cloud Storage containers as content sources by entering ******, where ****** is your Cloud Storage account number. Your account URL will look like https://****** Domains should refer to existing content sources. Only one container can be assigned.

    3. If necessary, change the Port
      If a content source uses a non-standard port (standard ports are 80 and 443), you can enter the custom port used.
  6. Personal domains for distributing data can be entered after the CDN resource has been created
  7. Click Create CDN Resource

The Akamai CDN can currently only be enabled and configured manually. After entering resource parameters, a request is automatically sent to technical support. Further CDN resource parameters are set via ticket system. Once processes have been automated with this provider, all manually created CDN resources will be shown in the interface at

Configuring CDN Resources

Open the settings of a CDN resource by clicking on the resource block.

Default Domain

After creating a CDN resource, a "default domain" will be created in the format ***, which can be found under the Domains tab. Content can be distributed using this domain.

For example, say you have a file on your primary server (content origin) in the "photos" folder called cat.jpg. To distribute this file over the CDN, you can use the address ***

Be sure that the origin is properly configured and processes connections from the domain *** For example, if you use NGINX as your primary server, then according to instructions, you have to add the domain *** to the configuration file and check that the default domain processes requests for ***

Personal Domain

In addition to distributing content from the default domain, you can enable personal domains for file distribution.

To add a personal domain, open the Domains tab for your CDN resources, click Attach domain, and enter the domain name.

Note: You may not use anything lower than third-level domains as a personal domain.

To activate a personal domain, create and register a CNAME entry with your DNS provider.

SSL Certificates

Content is distributed from default domains over HTTPS.

For Selectel:

  • Only default domains are available in the zone, which are covered by the free Selectel Shared Certificate
  • To attach a personal https domain outside the zone, you have to upload your own certificate under the SSL certificates tab. Once the SSL certificate is enabled, content will be distributed from the default domain over HTTPS, as only one certificate can be active at a time

For Akamai:

  • You can attach a personal https domain in the zone, which will be covered by the free Akamai Shared Certificate.
  • Personal https domains cannot be enabled outside the zone

Adding Multiple Content Origins

To add additional origins, click Edit origin. Enter the Domain and port of the domain and save your changes.