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

    October 16, 2019

    How to configure your content delivery network plan with WordPress installed by the W3 Total Cache plug-in.

    What you need

    • You must have an active CDN service purchased from Nexcess. To order a Nexcess CDN service plan, visit the Content Delivery Network page on the Nexcess website.

    • 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.

    Method

    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). 

    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

    See How to 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 your Client Portal.


    Was this article helpful?

    Send feedback

    Can’t find what you’re looking for?

    Our award-winning customer care team is here for you.

    Contact Support