Create and integrate a CDN resource for entire site

This type of resource will accelerate and protect the entire site using the CDN and DNS services without having to change the site code.

Note. If one of the services (DNS or CDN) stops working, the site will stop accelerating and working.

1. Go to your account of the CDN service and click Create CDN resource.

mceclip0.png2. Select the Accelerate and protect entire site type and click Confirm.

mceclip1.png

Note. This type of site acceleration requires the DNS service where a DNS zone will be created. If you have not yet activated the DNS service, the Free Plan will be automatically activated at this step. You can view the current billing plans in the Billing section.

3. Enter the name of the site (domain) that needs acceleration and protection.

You can enter a second-level domain (f. e. example.com) or a subdomain third and higher level (f. e. blog.example.com, sales.shop.example.com). In both cases our wizard will add the DNS zone for a second-level domain — example.com.

If you use an eTLD (effective top-level domains) f. e. co.uk, the DNS zone will consist of a subdomain and an effective top-level domain: example.co.uk.

Note. If you try to use a DNS zone that already exists on another client's account, the procedure will be declined.

In the Description field, you can describe the resource (optionally). This comment will be shown in the resource list. The maximum comment length is 512 characters.

Click Confirm.

mceclip2.png

4. Add DNS records.

At this step, the system looks for DNS records associated with the specified site. If DNS is configured for your site, the records will appear automatically — they will be loaded from the databases of your DNS provider. If it is not configured, records must be added manually. 

  • If DNS records are found, they will be displayed. You can edit them. Also, you can add multiple records using the Add DNS record button. Click Confirm to go to the next step.

mceclip3.png

  • If no DNS records are found, a warning indicating that at least a root level A record must be added will appear. Add it.

mceclip4.png

5. Change nameservers.

If all the steps are completed successfully, at the Change nameservers step a CDN resource and DNS zone will be automatically created for the site that you specified in the Enter the name of the site step.

Details of the CDN resource:

  • The site that you specified in the Enter the name of the site step is used as the custom domain.
  • The source is the IP address specified in the root level A record.

DNS zone details:

  • DNS records that were at the Add DNS records step are created in the DNS zone.

Note. If you are accelerating a site whose domain matches an existing DNS zone in the "DNS" service, this DNS zone will be used for settings. The zone is not duplicated.

To complete the site acceleration setup, log into your domain registrar account and replace the current nameservers with the G-Core Labs nameservers:

  • ns1.gcorelabs.net

  • ns2.gcdn.services

The nameservers can change after the article is published. The current servers are listed at the DNS service page.

Note. It can take up to 24 hours for the domain registrar to apply the changes.

Click Confirm.

mceclip5.png

6. Optionally, you can activate additional features for your CDN resource. You can skip this step; you'll always be able to return to additional settings later.

Click Confirm to complete the creation and set-up of your CDN resource.

mceclip6.png

The resource will be created automatically. You will see a page with its advanced settings. The resource settings header will display the name of the associated DNS zone. If the zone is not delegated to G-Core Labs, you will see the following warning:

mceclip7.png

Was this article helpful?
Recently viewed articles