In previous post we covered on how to setup MaxCDN in wordpress with WP Super Cache, in this post we will cover a detailed instruction on how to setup MaxCDN in wordpress with W3 Total Cache. You can read basic and essential steps on improving speed of wordpress sites here.
First of all create a pull zone in your Maxcdn account. In summary Tab of Your Pull zones area you will see details of your Zone like below.
Zone Name: nepallicacdn
Origin URL: http://nepallica.com
Now it now to create CNAME for your cdn url for blog. Open next tab and login your Cpanel.Under Domain section click on Simple DNS Zone Editor. To add CNAME Record , setup as in below picture.
In Name field You need to put same cdn url what you have put in maxcdn account. Generally it is cdn.yourdomain.com.
In CNAME field ,copy and paste the temporary url given by maxcdn and press add cname record button.
After that go to the “General Setting” page of W3 Total cache and enable CDN support. On “CDN Type” choose NetDNA/MaxCDN & save the settings.
Next go to CDN option page which is generally under option “Performance” tree of w3 Total cache. Under configuration put the API key and password, you can obtain API key and password for MaxCDN here. If there is no keys available you have to create one by pressing “+ Add key” button.
If you are using custom domain, on “Configuration” setting ass your custom domain name as show in screen shot below.
After this, you contents will be served from MaxCDN, you can make sure it is loading from max CDN by looking source of your website.
Last updated byat .