While Cloudflare can be quite beneficial or even necessary for WordPress sites hosted on other hosting providers, for most sites on SiteDistrict, it's typically better to disable their proxy (CDN, firewall, cache), and only use their DNS service.
This page covers the technical details behind this recommendation, as well as the exceptions to this rule.
Cloudflare, Inc. is a billion-dollar, cutting-edge technology company that has exploded in popularity over the past 10 years, and now handles a significant amount of Internet traffic.
While many on the Internet will say "Use Cloudflare" as though it is a magical solution for all kinds of problems, very few of these people actually understand the finer details of how Cloudflare works, when it should actually be used, how it should be used, and when something else is actually a better solution for a problem.
The number of products that Cloudflare offers is ever-increasing, but the most well-known features and the ones applicable to most WordPress sites are these:
The last three features listed above all require a domain to have the Cloudflare proxy, or "orange cloud" enabled, which instructs their DNS to return IP addresses that point at their servers, instead of your hosting provider. All traffic is then routed first to Cloudflare's global network of servers, and then passed to your host only if necessary.
SiteDistrict has many of the most important features of Cloudflare already built-in to our platform, making the use of Cloudflare unnecessary in many cases, and even undesirable in several others.
Unlike Cloudflare, but similar to most of the "better" managed WordPress hosting providers, SiteDistrict does not provide DNS services. We actually continue to highly recommend using Cloudflare's free DNS service, even if not using any of their other features that requires enabling their proxy.
For the other three features listed above, SiteDistrict has you covered.
SiteDistrict runs its own set of global servers, powered by Amazon EC2, which provide similar functionality to Cloudflare, but without any additional monthly costs, nor the need to configure any settings yourself.
While Cloudflare's DNS is excellent, and remains highly recommended, there can be issues with enabling their proxy and using some of their other features, such that on SiteDistrict, Cloudflare can and often does cause more problems than it solves.
The number one cause of more serious issues for sites using Cloudflare is configuration errors. The majority of the time when a SiteDistrict customer reports an issue that can be traced back to Cloudflare, it was caused by a change they made to a setting in Cloudflare.
If you use the Cloudflare proxy for your sites on SiteDistrict, we recommend sticking with both the free plan, and the default settings, unless you have a specific reason to change something AND you know what you are doing.
Another issue with Cloudflare is that, by default, their firewall does not block a significant amount of unwanted and malicious traffic. While the SiteDistrict firewall still protects sites that sit behind Cloudflare, it is more effective in general with direct traffic, because we have access to the TLS handshake data and can also limit IP traffic directly.
Using Cloudflare with SiteDistrict requires an extra "hop" for all requests for pages and other dynamic content, which is not cached by Cloudflare. While this is typically a small performance penalty, it is easily eliminated by not enabling the Cloudflare proxy for sites hosted on SiteDistrict.
If you're already using Cloudflare for a domain, then this doesn't apply. But if you're not using Cloudflare at all for a domain, but you were thinking it might be a good idea, or someone recommended it to you, then one downside is that you need to set up a Cloudflare account, copy the DNS records, configure the SSL / TLS settings correctly, and update the nameservers at your registrar.
For those who want to keep things simple, avoid extra work, and don't actually have a compelling reason to use Cloudflare, this is another reason you might want to have second thoughts.
Another common issue with enabling the Cloudflare proxy on some sites is that the SSL / TLS Settings inside Cloudflare are often set to Flexible, rather than Full or Full (Strict), which means that while your traffic between your browser and Cloudflare is encrypted, traffic between Cloudflare and your hosting provider (such as SiteDistrict), is not.
At SITEDISTRICT we require sites to use HTTPS for traffic from Cloudflare, and you will see this if your domain is set to use Flexible:
To disable the Cloudflare proxy, you can open up the DNS settings for your domain, and then disable the proxy for both the main A
record, as well as for the CNAME
record for the www
subdomain, as shown:
See the Cloudflare documentation page on how to Pause Cloudflare for more info.
There are some cases where it is a good idea to use Cloudflare with SiteDistrict. These are:
These are covered in more detail below.
Using their DNS is almost always a good idea, and is recommended. If a domain's current DNS provider is unreliable, has a bad user interface, or there are other issues with accessing and updating the DNS records, moving the domain's DNS to Cloudflare can often be a good option. This of course requires some amount of work, and a certain level of technical proficiency. For any support with this process, you would want to read the Cloudflare documentation, or speak with or hire a developer that has experience with Cloudflare.
Cloudflare provides free bandwidth, while our cloud provider (Amazon) charges us for bandwidth. We in turn pass those costs on to our customers if bandwidth usage exceeds the allowance for the account. If your site(s) on SiteDistrict use enough bandwidth to incur overage costs with us, it might be a good idea to use the Cloudflare proxy / CDN to offload bandwidth. If the assets or files are downloaded by many users, Cloudflare will cache the files in their CDN, and only transfer the files from SiteDistrict once, for as long as the cache is valid (30 days by default).
If you require the use of more advanced features, such as Cloudflare workers, then using the Cloudflare proxy is necessary, and may be justified. Consider if the features you need within Cloudflare are actually necessary though. Most customers with WordPress sites do not actually need a paid plan with Cloudflare, nor any additional features. In some cases, the functionality you need may also be available within SiteDistrict. Contact us with any questions.
In some cases, we will tell you directly if we think using the Cloudflare DNS and/or proxy is a good idea, and why we think so.
This page outlines important features provided by both Cloudflare and SiteDistrict, and should help you understand when it is a good idea to use Cloudflare, and which features you should use, if any.
Unlike with many WordPress hosting providers, using Cloudflare does not necessarily provide improved performance and security.
If we've missed anything with this article, let us know so we can address it. Enjoy your fast & secure managed WordPress hosting with SiteDistrict!