CloudFlare is working on, but not without the www?

CloudFlare can only accelerate and protect CNAMES. Since your root domain is an A record, we recommend that you forward your traffic to ‘www’ through your .htaccess file. If you do 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.

Since we work through CNAMEs CloudFlare can not be enabled on the root domain (since it is an A record). So, if you want to protect traffic going to the root domain, then they will need to add a redirect in the .htaccess file to 'www'.

Below is a snippet of code that can be used in your accounts .htaccess file. This snippet of code will direct all traffic from to Just replace the "" and "" with your own domain name.

RewriteEngine On
# Rewrite added for CloudflareInstall -
# Wednesday 25th of August 2010 04:59:42 AM
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$$1 [R=301,L]

  • 18 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2019 MonsterMegs. All Rights Reserved.