Enabling CloudFlare on your root domain

By default CloudFlare only works on requests to www.yourdomain.com it does not work on www.yourdomain.com.

To enable www.yourdomain.com to work with cloudflare, you must add a .htaccess file to your public_html folder:

 

 

RewriteEngine On

# Rewrite added for CloudflareInstall

Wednesday 25th of August 2010 04:59:42 AM

RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC]

RewriteCond %{SERVER_PORT} ^80$

RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

 

Replace yourdomain.com with your real domain name.

 

  • Email, SSL
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

.What is CloudFlare? How do I use it?

CloudFlare is a FREE system that acts as a proxy between your visitors and the server.  By acting...

How much does CloudFlare CDN cost?

For the basic protection system, CloudFlare is free; However, there are some additional...

Do I need to change my nameservers to use CloudFlare?

I logged into the CloudFlare Dashboard and tried to add a domain, it wants me to change my...

How do I disable CloudFlare for my domain?

Disabling CloudFlare is easy. 1) Log into your control panel:...

Getting around the SSL browser warning.

Getting around the Shared SSL browser warning.When using Hit Director's shared SSL, you will not...

Powered by WHMCompleteSolution