This article will show you how to configure your WordPress 3.2+ website to use the Serversaurus Cloud CDN, using the W3 Total Cache plugin.
Creating the CDN
Where appropriate, substitute
example.org for the actual URL of your WordPress website.
Once there, press the CDN Resource Wizard button.
2. On the proceeding screen, you will want to select HTTP as the CDN Type, and press Next:
3. You will now need to fill in the CDN Hostname and Origins.
CDN Hostname – just enter a hostname that you would like your CDN to be accessible at. It doesn’t need to be real – an alternate will be provided.
Origins – just type in the domain name that you usually access your website at.
Content Origin – just select PULL in this case.
Note on SSL: You may use HTTPS/SSL using a shared (
yourdomain.r.worldssl.net) hostname, but custom hostnames (such as
cdn.yoursite.org) are available only for non-SSL CDN resources.
Once this is done, press Next.
4. In this final step, you will need to select which locations you would like your CDN to be enabled in.
There is nothing wrong with selecting all locations – a user will always be directed to the closest of your selected choices:
Once you’ve made your selections, press Create CDN Resource.
5. It can take a few minutes for the CDN to become active. While you wait, please note the Raw CDN hostname on the proceeding page:
It will always be the format of
xxxxx.r.dynomeshcdn.net, unless you are using SSL, in which case it will end in
Configure the CDN in WordPress
1. Install the W3 Total Cache plugin (you can find installation instructions on its website, or more simply just use the built-in plugin installer in WordPress).
Once it is installed, please activate it.
2. In the WordPress administration area, please navigate to the Performance->CDN page:
3. Scroll down to the Configuration section, and fill out the section as displayed below, using the Raw CDN Hostname noted previously:
Before you save, press ‘Test Mirror’ and ensure that you get a successful result.
Press Save All Settings
4. Navigate to the Performance -> General Settings menu item:
and follow the CDN link:
5. Finally, fill the section as displayed:
Press Save all settings, and your WordPress site should now be using the Serversaurus CDN!