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

If you activate CloudFlare through Hoopla 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. You should work with Hoopla Hosting, but as a general outline, a redirect looks as follow:


RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is CloudFlare?

CloudFlare is a performance and security service that we provide to our customers. On average,...

Can I enable CloudFlare on my root domain? ie example.com

  CloudFlare can only accelerate and protect CNAMES. Since your root domain is an A record, we...

Can I enable CloudFlare on a wildcard (*) sub-domain?

No, for security reasons, CloudFlare does not proxy traffic to a wildcard sub-domain. You have...

I tried CloudFlare and have an issue. What should I do?

When you enable CloudFlare, there should be no noticeable difference to your website. If your...

I activated CloudFlare from my Hoopla Hosting account. Do I also get an account on CloudFlare.com? What is the difference?

Once you activate CloudFlare on Hoopla Hosting you also get an account at www.cloudflare.com....