Manage domains
You can distribute content through the default domain and through a personal domain.
Default domain
When creating a CDN resource, a default domain of the form *.selcdn.net is
automatically generated.
You can view the default domain in the Control Panel: from the top menu, click Products → CDN → CDN Resources → CDN Resource page → General tab.
It is not recommended to distribute content directly through the default domain, as the use of third-party domains can make it difficult to promote the site and affect the order in the search engine.
Content distribution via the default domain is HTTPS, and a Let's Encrypt® certificate is automatically issued for the domain.
Personal domain
It is recommended to use third-level subdomains for the source domain as personal domains, e.g. cdn.example.com
for example.com.
A CNAME record will be used to forward requests to the default domain.
You can also use a second-level domain other than the source domain as your personal domain, for example example1.com
for example.com.
An ALIAS record will be used to forward requests to the default domain.This will slow down the speed of content delivery, as a CDN server near the nearest Selectel region will always be selected, not near the user.For example, a request from Khabarovsk will go to Novosibirsk, even though there is a CDN server in Khabarovsk.
By default, each CDN resource has a limit of 10 personal domains.To increase this limit for free, create a ticket.
Connect personalized domain
-
If you don't already have a domain you want to use as a personal domain, register it in your DNS hosting control panel.
-
In your DNS hosting control panel, create a resource record:
- record type — CNAME for a subdomain or ALIAS for a second-level domain;
- record name — domain name.For CNAME — a subdomain of the form
cdn.example.com
, for ALIAS — a second-level domain other than the content source; - value — default domain of the form
*.selcdn.net
.Specify a domain without a protocol.You can view the default domain in the control panel: in the top menu, click Products → CDN → CDN Resources → CDN Resources → Resource page → General tab.
-
In the Control Panel, on the top menu, click Products and select CDN.
-
Open the CDN resource page → General tab.
-
In the Personal Domains block, click Add Domain.
-
Specify the personal domain for which you configured the record.If you need to attach multiple domains, add them in the same window, as each domain operation results in the reissuance of the Let's Encrypt® CDN resource certificate.
-
Click Connect.