Usually, it is difficult to serve a cached whole WordPress website from CDN. However, with CacheFly’s account settings and reverse proxy, you can indirectly serve a whole WordPress site in a cached form via CacheFly CDN. I have noticed that there is not much improvement in the web performance parameters when a live blog site is set in this way. So, this method is used only for an informative website with service details. So, the easiest way to serve a website from CacheFly is to create static content on localhost (or a server), download the content and upload on the FTP of CacheFly. This guide is for the existing CacheFly users. Many of the CDN services today offer similar features.
As first step, create a zone/sub-account from your CacheFly account :
As a next step, log in to its FTP account by using some FTP client, such as FileZilla. If your zone’s username is
crazymouse, then the public URL of the container will be
crazymouse.cachefly.net. In this FTP account, you can upload any content which you want to reflect as a website.
If you use WordPress installed on localhost or some other server for content production, then you need some plugins to strip off its hardcoded URLs linking from the content. There are many plugins that can be used for this purpose, for example :
You can use use our FTP to ZIP WordPress Plugin to download the whole website as a zip file just from web browser. This plugin allows you to do the job frequently to update, avoiding complex tools and commands.
Now, upload the unzipped content to the FTP account via FileZilla. From CacheFly account, you need to point the “zone” with a domain name:
You need a DNS service that supports alias name or A Name to point a subdomain (of CacheFly) towards your domain. Hurricane Electric provides a free DNS service that presently supports this Alias. Paid DNS services like DNS Simple also offer similar services. If you need an SSL certificate for your domain, then you need to contact CacheFly.