How to configure the Nexcess CDN with WordPress and WP Rocket

    March 2, 2021

    Using a Content Delivery Network (CDN) will allow site images and assets (JSS and CSS) to be served from the CDN Point of Presence nearest to the customer. This will improve load times for your site. Managed WordPress and Managed WooCommerce sites plans include the Nexcess CDN. 

    Step 1: Enable Nexcess CDN

    1. Log in to your Nexcess portal for your site. Select the Plan Dashboard for the correct site.

    2. Go to the Performance tab in the portal. 

    3. Click on the Configure CDN on Your Site and follow the steps to enable the CDN for your site.  

    Step 2: Configure WP Rocket

    1. From your WordPress admin panel, select Settings > WP Rocket.

    2. Go to the CDN tab in WP Rocket you will need to toggle on Enable Content Delivery Network

    3. In the CDN CNAME field type your origin CDN URL. For example,

    4. You can set which assets or paths you want to exclude from the Nexcess CDN in the Exclude files from CDN section in the CDN tab of the WP Rocket plugin. 

    5. Click Save Changes.

    6. Since you are already using WP Rocket you can get some extra performance gains for site users by setting the CDN URL to be DNS prefetched. Go to Settings > WP Rocket > Preload. 

    7. Enter the URL to be DNS prefetched, an example would be // then save the changes in WP Rocket.

    8. When you are testing the site using the Nexcess CDN using GTmetrix or WebPageTest it should be tested from multiple continents, if you're testing from a geographical region close to the origin server, the performance benefit will not be as apparent as it would to a test done in a different region.

    9. If you do need to purge the content being stored in the Nexcess CDN you can purge the CDN directly from the portal in the performance tab. 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