If you are a small blogger and can not afford to buy a Content Delivery Network CDN package for your blog, you need not worry. Using W3 total Cache plugin, you can use your server FTP as self hosted CDN for your WordPress blog without buying a CDN package from somewhere else. Obviously, this is not as effective as normal CDN (which serves your files worldwide using servers located near to the destination of the files being served.)
For using the self hosted CDN feature, you need to create a sub domain from your cpanel or any other control panel of your web hosting. Create images.yourdomain.com on your server (or any other name instead of images) . You need to update your DNS zone too.
Just select Self-hosted / File transfer Protocol Upload in the W# total settings >. General>> Content delivery network.

After you are done with this, you need to provide the FTP credentials like username and Password along with FTP folder path of the folder that you want to serve using this self hosted sub domain. Also, replace the site host name field with the subdomain you created e.g images.yourdomain.com in this case.
After all this, You can click on Test FTP server button. IF you did everything right, it will say test passed. If something wrong happened, try again and check if you did everything right.


