Can I enable CloudFlare on my root domain (i.e. that is an A record?

If you activate CloudFlare through Lithium Hosting, CloudFlare can only accelerate and protect CNAMEs, not A records, which often includes the root domain. If you have traffic that goes to your root domain and you want to accelerate and protect the traffic using CloudFlare, you can add a redirect to ‘www' in your .htaccess file.  The following code should work in most instances, if not contact support for help:


RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$$1 [R=301,L]
Was this answer helpful? 8 Users Found This Useful (198 Votes)