cdn.<your website domain>
for delivering static files via Gcore CDN.
yourwebsite.com
, enter cdn.yourwebsite.com
. You will use that CNAME later to rewrite URLs in your website’s source to deliver those resources through CDN.
You can specify multiple domains by clicking the plus (+) icon. In Step 5 you can configure your website to deliver different types of static files from separate domains.
cdn.yourdomain.com
.cdn.yourwebsite.com
. Do so in your DNS provider’s personal account. For a CNAME value, enter a subdomain shown in your Gcore Customer Portal as *.gcdn.co
.
For example, in the following screenshot, the subdomain is cl-1ab23456.gcdn.co
, so, for the cdn.yourdomain.com
subdomain, you need to create a CNAME record with the value cl-1ab23456.gcdn.co
.
yourwebsite.com/images/image.jpg
, change it to cdn.yourwebsite.com/images/image.jpg
. As a result, users will get static files from the CDN cache, and only the requests to the files that haven’t yet been cached will be forwarded to your origin server.
If your site is built on a CMS (such as WordPress, Joomla, or Drupal) you can replace a domain name in file paths using special plugins. Find the right plugin and discover instructions for replacing the URLs in our guide on integrating CDN with CMS.
2. Go back to the Gcore Customer Portal and click Confirm.