Can I enable Cloudflare on my root domain (i.e.

For zones setup through one of Cloudflare's hosting partners via Full or Partial set-up, Cloudflare can only accelerate and protect CNAMEs.  A records, which often includes the root domain, will not receive Cloudflare's "orange cloud" proxy benefits. This is due to the nature of hosting partners' DNS resolution interacting with Cloudflare's DNS optimizations.

If traffic goes to a root domain and you want to accelerate and protect the traffic using Cloudflare, you can add a redirect to ‘www’.If the user does not forward the traffic, then any traffic to will be accelerated and protected by Cloudflare (and shown in the statistics) and any traffic to will not be served by Cloudflare.
If you are using Apache as a server and .htaccess to do redirections, here is how you implement a redirect:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$$1 [R=301,L]
Not finding what you need?

95% of questions can be answered using the search tool. This is the quickest way to get a response.

Powered by Zendesk