Web Analytics

Boost Website Speed with SSL.com CDN

This how-to will walk you through the process of improving your website’s performance with SSL.com’s content delivery network (CDN).

For a complete overview of our CDN’s features, refer to the CDN section of our user portal documentation. If you’re interested in what a CDN is and how it can help you boost your website’s speed and reliability, please read our article on the subject. For information on available plans and pricing, check SSL.com’s CDN plan overview page.

Creating a CDN Resource

  1. Log into your SSL.com account, then select the CDN tab.

  2. Enter the URL of the website you wish to mirror in the Resource Origin field and give it an identifying name in the Resource Name field. The resource name you enter will be used as the hostname for the CDN resource (e.g. “mysite” will map to mysite.a.cdnify.io). Then, click the Create button.

  3. A dialog box containing the terms of service will appear. When you have reviewed the terms of service and understand and agree with them, check the box labeled I agree to CDNify’s “Terms of Service” above, then click the Save button. If you do not agree with the terms of service or otherwise wish to abort the operation, you can also click Cancel at this point.

  4. If everything has been done correctly, the message, “Successfully Created Resource” should appear near the top of the window and your site will appear in the Resources Management list. You can view your resource’s CDN network activity and access its cache and settings by clicking the hostname in the list.

  5. Working through the tabs from left to right, the Resources tab will simply return you to your list of resources. The Overview tab displays an overview of network activity at different locations. Because we just set up this new resource, there is no activity to display yet.

  6. The Cache tab shows cached files and allows you to purge files from the cache and set the cache expiry time.

     

  7. The Setting tab allows you to update the resource origin and name, add a custom hostname for the CDN resource (e.g. cdn.mysite.com), or delete the resource. You can also set multiple advanced options via the checkboxes on the right side of the tab; for a complete overview of these settings and what they do, please refer to our portal documentation.

Add an SSL-Enabled Custom Domain to Your CDN

By creating a CNAME DNS record, you can add an SSL-enabled custom domain name to your CDN.

  1. Create a CNAME DNS record that points from the custom name you want to use to the hostname shown in the Resources Management list (for example, pointing from cdn.mysite.com to mysite.a.cdnify.io. Consult your web host for instructions on creating the CNAME record.

  2. In the Setting tab of the CDN resource in your account, enter your hostname in the Host Name field under Add a Custom Domain, then click the Create button.

  3. After being successfully added, your custom domain name will appear in the Custom Domain List.

  4. To add SSL to your custom domain, click Edit SSL.

  5. The Configure SSL dialog box will open, which has options for both automatic and manual SSL installation.

    Configure SSL

  6. The Generate and install SSL checkbox is intended to automatically generate and install an SSL certificate for the custom domain name. Checking it will hide the manual SSL fields, as they are not needed.

    Note: Automatic custom SSL is under development and is currently not working. For the present, please use the manual process detailed below in step 6.

    Generate and install SSL

  7. To manually configure SSL, paste a certificate and private key corresponding to the custom domain name in the Certificate and Private Key fields. Be sure to install the complete certificate chain when pasting the certificate. You can do this by choosing the Ngnix download option for the certificate in your user account:

    Nginx download link

    Note: You should already have your private key, which was generated on your computer when you certificate signing request (CSR) was created. SSL.com does not possess your private keys and they are not available for download from your SSL.com user account.

    Manually configure SSL

    Note: If the Certificate and Private Key fields are not visible, please make sure that the Generate and install SSL checkbox is not enabled.
  8. When you are finished configuring SSL, Click the Save button. You can also click Cancel to cancel the operation, or Delete Host Name to immediately delete the custom domain name. After installation of a valid certificate, the Validation Status will be updated to show the presence of the certificate and its expiration date.

    Certificate installed

Note: Depending on your needs, you may also wish to specify some of the advanced settings, located on the left side of Setting tab. Please refer to our portal documentation for a complete overview of these settings and what they do.

Using Your CDN with WordPress

In most modern content management systems, it is relatively simple to set up the backend of your website to work with your new CDN resource. This section will show you how to set WordPress up to work with your new CDN resource.

  1. First, install the W3 Total Cache plugin via the WordPress dashboard. Click Plugins >> Add New in the left-hand sidebar menu, search for “W3 Total Cache,” then click the Install Now button.

  2. When the plugin has been installed, the Install Now button will turn blue and change to Activate. Click the button.

  3. A new menu item will appear on the left, labeled Performance. Navigate to Performance >> General Settings.

  4. Scroll down to CDN on the general settings page. Check Enable on the line labeled CDN, then choose Generic Mirror from the CDN Type drop-down menu. When you are finished, click Save all settings.

  5. Because the hostname has not yet been configured, an alert will appear at the top of the page, stating “A configuration issue prevents CDN from working: The “Replace default hostname with” field cannot be empty.” The next step will fix that problem.

  6. Navigate to Performance >> CDN in the left sidebar menu, then scroll down to Configuration: Objects. Next to SSL Support:, choose Enabled (always use SSL) from the drop-down menu. Then, add your CDN resource’s hostname (e.g. either mysite.a.cdnify.io or a custom domain name you have defined as shown above) and click the Test Mirror button.

    CDN Configuration

  7. If everything has been set up correctly up to this point, a green box reading “Test Passed” will appear next to the Test Mirror button. Now click Save all settings.

    Test passed

  8. Scroll back to the top of the page, and click the button labeled Modify attachment URLs.

  9. In the window that pops up, enter your top-level domain name (e.g. mysite.com) and click Start.

  10. Changes should take place immediately, as reflected in the pane at the bottom of the pop-up window.

  11. You can now verify that assets are being served by the CDN by viewing the source code of your website in a browser.

    CDN URLS

If you have any questions or need assistance setting up your CDN, please contact us at support@stg.ssl.com, 1-877-SSL-SECURE, or just use the Live Chat option at the bottom right of this page. You can also find answers to many common support questions in our knowledgebase. And, as always, thank you for choosing SSL.com!

Subscribe To SSL.com’s Newsletter

Don’t miss new articles and updates from SSL.com

Stay Informed and Secure

SSL.com is a global leader in cybersecurity, PKI and digital certificates. Sign up to receive the latest industry news, tips, and product announcements from SSL.com and stay informed of the latest changes about digital identity and encryption that can impact and enhance your life.

We’d love your feedback

Take our survey and let us know your thoughts on your recent purchase.