Special Offers
Live Help
Skype us
Our Facebook page
Follow Us On Twitter
Our Youtube Channel
Blog


 Client Area

Email Address:

Password:

 Remember Me

Forgotten Your Password?





Subscribe now in Dimofinf Mobile and enjoy the wide range of premium services. At a very small price, you will receive our SMS text messages wherever you are! More



  Add to Favourites Print this Article
How to enable CloudFlare?

What you will get after activating CloudFlare?

Briefly, once you enable CloudFlare service you will get the following features:

  • Faster Browsing: At least twice the regular speed
  • Optimization for mobile: For faster browsing using smart phones
  • Distribution of the static site contents such as Images, JavaScript and CSS over more than 20 data centers around the world.
  • Decreased monthly used traffic by at least 60% as very least estimate.
  • Less requests by at least 50% to your own account (i.e. Process), and so serving more visitors with about 100% using your current hosting plan.
  • Protection against viruses, malicious crawlers, DoS attacks.
  • Your site always available on internet, with the “Always Online” service your pages are cached and served to your visitors during the server stopping intervals.
  • Railgun feature (costs 200 USD monthly for each domain) which is offered completely free to Dimofinf clients. This feature accelerates the creation and sending of dynamic pages to the visitor.
  • All these are offered completely free together with technical support for Dimofinf clients according to the partnership and cooperation agreement between Dimofinf and CloudFlare.

How to enable CloudFlare?


To enable the service, login to your cPanel, then press the “CloudFlare” icon.

You will get the starting and registration page. Enter you email address, read CloudFlare service agreement, press “OK” then press “Signup Now!

Wait few seconds, the page will auto refresh and a list with the domains linked to your account will be displayed. In our example there is only one domain (as seen in the image), to complete the activation process press “Edit” besides the domain you want to enable the service on.

The list of domains will be displayed and in our example we will enable the service on www.crackrz.com only.

To enable the service press the gray cloud till it turns to orange.

With this the service is now enabled on www.crackrz.com

Note: CloudFlare service works only on subdomains such as www.crackrz.com, images.crackrz.com, vb.crackrz.com, or joomla.crackrz.com and so on, in case the visitor used crackrz.com without www no acceleration will be done to the connection and no activation for any of CloudFlare services will be done. To fix this issue you can apply the modification in “.htaccess” file (please review the explanation below).

Now we edit some settings, so we press “Statistics and Settings” then edit the settings as seen in the image

Now we will show how to redirect from crackrz.com to www.crackrz.com follow the below explanation.


How to redirect from domain.com to www.domain.com?


Open the “.htaccess” file that you can find in “public_html” folder

Insert at the beginning of the file the following code after changing the domain name to your own domain then save the file.

 

RewriteEngine On

# Rewrite added for CloudflareInstall - domain.com

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

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

RewriteCond %{SERVER_PORT} ^80$

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

 


How to enable CloudFlare service on a sub-domain?


In this example we used the domain crackrz.com and we will continue using it. Suppose we created the sub-domain cms.crackrz.com using the cPanel, before we can enable CloudFlare service on this sub-domain we need to modify the DNS so the sub-domain become compatible with CloudFlare feature in the cPanel.

So go to “Advanced DNS Zone Editor

We want to enable cms.crackrz.com so we will edit it by pressing “Edit

We will change two things:

  • Change Type from A to CNAME
  • In CNAME field we enter the name of the upper domain, in our example the sub-domain is cms.crackrz.com and the upper domain is crackrz.com.

Then save the changes by pressing “Edit Record

We will get the following result:

Now return to your cPanel main page and press the “CloudFlare” icon, then press “Edit”, choose the sub-domain and press the gray cloud

So it turns orange

With this CloudFlare is enabled on the sub-domain, repeat the process for each subdomain you want to enable CloudFlare on.

Was this answer helpful?

Also Read
Challenge Page (Views: 815)
Cache Purge (Views: 1198)
AutoMinify (Views: 794)