Contact
Site: US UK AU |

How to configure the Nexcess CDN with WordPress and W3 Total Cache

How to configure the Nexcess CDN with WordPress and W3 Total Cache 

Overview
This article shows how to configure your content delivery network plan with WordPress installed by the W3 Total Cache plug-in.

Table of contents

What you need

  • Login information for accessing the Client Portal. The login information for accessing the Client Portal is the username (email address) and password that you entered when you placed your order with Nexcess. If you do not remember your password, click Forgot Password? on the login page.
  • The latest version of WordPress, installed with the W3 Total Cache plug-in.

Procedure

This procedure includes the five steps provided below.

1: Configure customer origin on the HTTP small delivery platform

Complete the instructions provided in How to configure a  CDN customer origin server. Since WordPress mainly stores small static files such as images and stylesheets, configure the HTTP small delivery platform.

2: Create a user-friendly CDN web address (optional)

Attention: If you have enabled and configured CDN SSL service or are planning to do so, skip this step. Your CDN SSL service requires a specific URL to function and changing it will break your website. See How to set up your CDN SSL service for more information.

If desired, you may choose to customize the CDN URL with a more user-friendly name by setting up the CNAME file for your domain. Follow the steps in the How to create CNAME URLs with Edgecast CDNs.

3: Configure WordPress

  1. Select Performance > General Settings.  
  2. Scroll down to the CDN section, and then select the Enable check box.

  3. For the CDN Type, select (Origin Pull) Generic Mirror.
  4. Click Save All Settings.
  5. On the WordPress menu, under Performance, select CDN.

  6. Scroll down to the Configuration panel. Under SSL support, select Disabled (always use HTTP) unless you have enabled your CDN SSL. If that is the case, instead select Enabled (always use SSL).
    WordPress CDN Configuration Settings

  7. In the Replace site's hostname with: field, enter your CDN Origin URL or the CDN CNAME you created in How to create an Edge CNAME URL.
  8. Click Save all settings to deploy your W3 Total Cache configuration. The CDN takes approximately one hour to cache the content. Also, it can take one hour to re-cache any time the cache is flushed.
  9. Load your website to be sure that there are no missing elements on your page. If there are missing elements, check to make sure all your settings are correct.

Once everything is working correctly,  check the source code for the HTML page to ensure that your images, javascript, and stylesheets are being loaded from the CDN. You may also want to consider using a tool that tests the load time of a page, such as Pingdom Tools.

4: Purge the CDN cache

5: Activate CDN compression

Follow the instructions provided in How to activate CDN compression.

Troubleshooting

If any elements on your site appear to be missing, it could be due to either of the following:

  • The CDN has not fully cached all of your website's content. It takes approximately one hour for the CDN to cache content. Also, it will take approximately one hour to re-cache. 
  • The CDN configuration settings are not properly defined. Follow the steps provided in this article to verify that you have entered the correct settings.

 

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to add Favicons to WordPress
Added on Thu, Oct 31, 2013
How to add and remove WordPress users
Added on Mon, Jun 4, 2018
What is W3 Total Cache?
Added on Fri, Oct 31, 2014
How to secure your WordPress site
Added on Mon, Jul 20, 2015
What is WordPress?
Added on Wed, Sep 11, 2013
How to configure WordPress plug-ins
Added on Tue, Jul 30, 2013
How to change your WordPress admin password
Added on Mon, Jun 4, 2018
What is Nexcess Cloud Auto Scaling?
Added on Wed, Apr 18, 2018
How to configure a WordPress multi-site network
Added on Thu, Mar 13, 2014
How to purchase Nexcess shared hosting plans
Added on Mon, Jan 4, 2016