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

If you activate CloudFlare through HostArmor, 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 HostArmor, but as a general outline, a redirect looks as follow:

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

  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

What is CloudFlare? (Click Here for More Info)

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

What is the association between HostArmor and CloudFlare? (Click Here for More Info)

CloudFlare is a third-party vendor that is offering CloudFlare to HostArmor customers through a...

How does CloudFlare’s technology work? (Click Here for More Info)

CloudFlare works as a reverse proxy. What this means is that once your website is part of the...

Where are CloudFlare’s data centers located? (Click Here for More Info)

CloudFlare’s network currently has 12 locations. San Jose (US), Los Angeles (US), Chicago (US),...

What types of websites can use CloudFlare? (Click Here for More Info)

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

Powered by WHMCompleteSolution