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

CloudFlare can only accelerate and protect CNAMEs, not A records, which often includes the root domain. 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 www.mydomain.com will be accelerated and protected by CloudFlare (and shown in the statistics) and any traffic to mydomain.com will not be served by CloudFlare. If you are using .htaccess to do redirections, here is how you implement a redirect: `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, a...

What is the association between us and CloudFlare?

CloudFlare is a third-party vendor that is offering the CloudFlare service to your customers...

How does CloudFlare's technology work?

CloudFlare is a CDN (content delivery network) with a security layer. Once a website is part of...

What types of websites can use CloudFlare?

Almost all websites can use CloudFlare. CloudFlare works for both static and dynamic websites....

Is CloudFlare compatible with a website with SSL?

The site can use CloudFlare, however there is an extra step. If the SSL is on its own sub-domain...