Quick Start - Large files: CDN

Description

This page contains a guide on how to quickly get started with our CDN.
It describes in a few steps how to setup an origin and a pull zone.

Contents

 

In this Quick Start guide we will show you how to set up a basic CDN for Large files by setting up an Origin and a Pull zone.

Large files zone

Larger files, like downloads, game patches, file archives, software updates, etc can be optimised using out "Large files" CDN system.  These differ from small files in that they require larger amounts of storage, and usually take longer to download to the customer. It is not recommended to select "Large files" if you have media streaming or video on demand.

 

Dashboard introduction

This video briefly shows you the extensive functionality of our easy-to-use CDN control panel.

Step 1: Logging in

Perform the following steps to log in to the CDN Control Panel:

  1. Go to the CDN Control Panel (http://my.leasewebcdn.com)
    The login screen for the CDN Control Panel displays.

     

  2. Log in to the CDN Control Panel using your customer number and password that you received in your CDN setup email.

    If you are an existing customer of LeaseWeb with access to our Customer Portal (http://secure.leaseweb.com), the CDN credentials might be different.

  3. Click the "Login" button.

Step 2: Adding an Origin

The Origin server is the original server that hosts your content. The LeaseWeb CDN will pull from this server and accelerate the delivery and enhance the user experience.

  1. In the menu bar, under "Manage Zones", select "Origin".



    The Origin page displays. 



  2. Click the "Add" button.
    Add the Label and Origin url. (for example, Label: My example website, Origin: http://origin.example.com )

    Do not add a trailing slash ( / ) to the origin url.

    If you want to edit the Advanced setting, you can read more about them here

  3. Click the "Save" button.

You have added an Origin and can now set up your Pull Zone.

Step 3: Adding a Pull Zone / Domain

A pull zone is typically an end-user facing domain that is accelerated by LeaseWeb CDN with a specific set of properties.

This video briefly shows you how to configure a Pull zone. Below you can find step-by- step instructions describing the process.

  1. In the menu bar, under "Manage Zones", select "Pull Zones".



    The Pull Zones page displays. 



  2. Click the "Add" button.



  3. Click the "Add Large files zone" button.



  4. Enter the hostname that will be used by the CDN in the "CNAME" field and select the origin we created in step 2

    Field NameDescription
    StatusCDN Zone can be Activate or Inactivate. The zone needs to be activated in order to serve traffic.
    TargetThe Target is the CDN Domain where the CNAME points to. The URL is calculated from your CNAME value.
    CNAME

    A CNAME, or Canonical Name record, is an entry within the Domain Name System (DNS) that specifies where a user can find your web pages. A CNAME is required to associate your domain with your CDN service.
    For example, you first create a CDN Zone and then create a DNS record for your domain (e.g. origin.example.com/) and point it to the CDN Domain of your zone (e.g. a2a23913007f60933db72f23f7462584.lswcdn.net). 

    Origin

    Defines the URL (HTTP) of the customer’s source, on domain level.
    Example: http://origin.example.com/
    Content will be pulled from the customer’s origin and cached on the LeaseWeb CDN network when it is served to end-user for the first time. A request for http://origin.example.com/file.zip will be fetched from http://origin.example.com/file.jpg and cached on the platform.

    If you want to edit the Advanced setting, you can read more about them here

  5. Click the "Save button.

Step 4: Testing the CNAME

Now that you have successfully created a CNAME for your domain it is time to test if it works.

  1. First view the Pull zone you just created and copy the CNAME Target.



  2. Open up a browser and paste the CNAME and add your filename e.g: a2a23913007f60933db72f23f7462584.lswcdn.net/file.zip
  3. If the file loads correctly you have successfully set up the Pull Zone to point towards your domain
  4. If you notice something is not as you expected send an email to our support team: support@leaseweb.com

Step 5: Changing your DNS

Now that you have set up a Pull Zone you can start redirecting traffic to the LeaseWeb CDN. To do this you have to make a change to the DNS on your hosting. The following example uses cPanel to make the DNS change.

 cPanel
  1. Log into your domain's cPanel and search for "DNS",
    Select "Simple DNS Zone Editor" or "Advanced DNS Zone Editor".



  2. Fill in the fields as displayed below using your own 'Name' and 'CNAME".



  3. Click 'Add CNAME Record'
 DirectAdmin
  1. Log into your domain's DirectAdmin and click on the 'DNS Management' link. 



  2. Scroll down to "Add Domain Records" and fill in the fields next to "CNAME".

     

    The domain record should only consist of the name of the domain your wish to forward (i.e. origin when the domain is origin.example.com)

    Note: Your domain provider might require you to add a trailing . in the CNAME field.

  3. Click the "Add" button next to the fields you filled in.

 

Your DNS should now be configured to point to the LeaseWeb CDN

Step 6: Submitting the SSL Certificate request (optional)

If you want to use secure content (HTTPS) LeaseWeb CDN requires a valid SSL Certificate to be able to contact your origin server. This SSL Certificate must be maintained valid on the origin server.
LeaseWeb CDN requires your Private KeyPublic Key and additional Intermediate Certificates in order to be able to connect to your secure content origin server. You can provide this information by creating a ticket in the LeaseWeb Customer Portal.

First head over to https://secure.leasewebcdn.com and log in with your LeaseWeb Customer Portal credentials.



When you have successfully logged in click on the 'Tickets' button in the Shortcuts menu.



To create a new ticket, click the 'Create a new Ticket' button.



Fill in the menu items for 'Send to*', 'Topic*' and 'Other' as displayed in the image below.
In the message please include your: Private KeyPublic Key and additional Intermediate Certificates.



Click the 'SEND' button to create a new ticket.

You will be updated by a LeaseWeb engineer when the SSL Certificate has been successfully added.
Once the SSL Certificate is ready to be used you will be able to select it in the Advanced settings of your pull zone.

 


Keywords
You can click on any of the keywords below this article to see all related articles for that keyword

 

Description

This page contains a guide on how to quickly get started with our CDN.
It describes in a few steps how to setup an origin and a pull zone.

Contents

 

In this Quick Start guide we will show you how to set up a basic CDN for Large files by setting up an Origin and a Pull zone.

Large files zone

Larger files, like downloads, game patches, file archives, software updates, etc can be optimised using out "Large files" CDN system.  These differ from small files in that they require larger amounts of storage, and usually take longer to download to the customer. It is not recommended to select "Large files" if you have media streaming or video on demand.

 

Dashboard introduction

This video briefly shows you the extensive functionality of our easy-to-use CDN control panel.

Step 1: Logging in

Perform the following steps to log in to the CDN Control Panel:

  1. Go to the CDN Control Panel (http://my.leasewebcdn.com)
    The login screen for the CDN Control Panel displays.

     

  2. Log in to the CDN Control Panel using your customer number and password that you received in your CDN setup email.

    If you are an existing customer of LeaseWeb with access to our Customer Portal (http://secure.leaseweb.com), the CDN credentials might be different.

  3. Click the "Login" button.

Step 2: Adding an Origin

The Origin server is the original server that hosts your content. The LeaseWeb CDN will pull from this server and accelerate the delivery and enhance the user experience.

  1. In the menu bar, under "Manage Zones", select "Origin".



    The Origin page displays. 



  2. Click the "Add" button.
    Add the Label and Origin url. (for example, Label: My example website, Origin: http://origin.example.com )

    Do not add a trailing slash ( / ) to the origin url.

    If you want to edit the Advanced setting, you can read more about them here

  3. Click the "Save" button.

You have added an Origin and can now set up your Pull Zone.

Step 3: Adding a Pull Zone / Domain

A pull zone is typically an end-user facing domain that is accelerated by LeaseWeb CDN with a specific set of properties.

This video briefly shows you how to configure a Pull zone. Below you can find step-by- step instructions describing the process.

  1. In the menu bar, under "Manage Zones", select "Pull Zones".



    The Pull Zones page displays. 



  2. Click the "Add" button.



  3. Click the "Add Large files zone" button.



  4. Enter the hostname that will be used by the CDN in the "CNAME" field and select the origin we created in step 2

    Field NameDescription
    StatusCDN Zone can be Activate or Inactivate. The zone needs to be activated in order to serve traffic.
    TargetThe Target is the CDN Domain where the CNAME points to. The URL is calculated from your CNAME value.
    CNAME

    A CNAME, or Canonical Name record, is an entry within the Domain Name System (DNS) that specifies where a user can find your web pages. A CNAME is required to associate your domain with your CDN service.
    For example, you first create a CDN Zone and then create a DNS record for your domain (e.g. origin.example.com/) and point it to the CDN Domain of your zone (e.g. a2a23913007f60933db72f23f7462584.lswcdn.net). 

    Origin

    Defines the URL (HTTP) of the customer’s source, on domain level.
    Example: http://origin.example.com/
    Content will be pulled from the customer’s origin and cached on the LeaseWeb CDN network when it is served to end-user for the first time. A request for http://origin.example.com/file.zip will be fetched from http://origin.example.com/file.jpg and cached on the platform.

    If you want to edit the Advanced setting, you can read more about them here

  5. Click the "Save button.

Step 4: Testing the CNAME

Now that you have successfully created a CNAME for your domain it is time to test if it works.

  1. First view the Pull zone you just created and copy the CNAME Target.



  2. Open up a browser and paste the CNAME and add your filename e.g: a2a23913007f60933db72f23f7462584.lswcdn.net/file.zip
  3. If the file loads correctly you have successfully set up the Pull Zone to point towards your domain
  4. If you notice something is not as you expected send an email to our support team: support@leaseweb.com

Step 5: Changing your DNS

Now that you have set up a Pull Zone you can start redirecting traffic to the LeaseWeb CDN. To do this you have to make a change to the DNS on your hosting. The following example uses cPanel to make the DNS change.

 cPanel
  1. Log into your domain's cPanel and search for "DNS",
    Select "Simple DNS Zone Editor" or "Advanced DNS Zone Editor".



  2. Fill in the fields as displayed below using your own 'Name' and 'CNAME".



  3. Click 'Add CNAME Record'
 DirectAdmin
  1. Log into your domain's DirectAdmin and click on the 'DNS Management' link. 



  2. Scroll down to "Add Domain Records" and fill in the fields next to "CNAME".

     

    The domain record should only consist of the name of the domain your wish to forward (i.e. origin when the domain is origin.example.com)

    Note: Your domain provider might require you to add a trailing . in the CNAME field.

  3. Click the "Add" button next to the fields you filled in.

 

Your DNS should now be configured to point to the LeaseWeb CDN

Step 6: Submitting the SSL Certificate request (optional)

If you want to use secure content (HTTPS) LeaseWeb CDN requires a valid SSL Certificate to be able to contact your origin server. This SSL Certificate must be maintained valid on the origin server.
LeaseWeb CDN requires your Private KeyPublic Key and additional Intermediate Certificates in order to be able to connect to your secure content origin server. You can provide this information by creating a ticket in the LeaseWeb Customer Portal.

First head over to https://secure.leasewebcdn.com and log in with your LeaseWeb Customer Portal credentials.



When you have successfully logged in click on the 'Tickets' button in the Shortcuts menu.



To create a new ticket, click the 'Create a new Ticket' button.



Fill in the menu items for 'Send to*', 'Topic*' and 'Other' as displayed in the image below.
In the message please include your: Private KeyPublic Key and additional Intermediate Certificates.



Click the 'SEND' button to create a new ticket.

You will be updated by a LeaseWeb engineer when the SSL Certificate has been successfully added.
Once the SSL Certificate is ready to be used you will be able to select it in the Advanced settings of your pull zone.

 


Keywords
You can click on any of the keywords below this article to see all related articles for that keyword

 

  • No labels