Increase Your Site’s Speed & Security With CloudFlare

No matter how big or small, your website can always expect at least some activity from spammers if appropriate measures are not in place. This can significantly decrease productivity for you as a webmaster or developer and sometimes more extreme methods are needed to combat these online threats.

Enter, CloudFlare. CloudFlare acts as a proxy between your visitors and your website – ensuring security and the fairly successful prevention of spam as well as decreasing load times greatly. Read on to see how to setup CloudFlare for your site.

Overview

CloudFlare is a web application that provides you with a solution to easily decrease spam on your site as well as significantly increasing the load time for your visitors. CloudFlare employs its own independent caching methods to make sure that all useless requests to your website’s assets like images and stylesheets are prevented, ultimately saving bandwidth significantly.

CloudFlare also acts as a gateway between your visitors and your site, preventing spam visitors and other threats in the process. With individual IP or even country-wide blocking, CloudFlare is perfect for preventing potential threats from accessing to your site.

Overview

Overview

Creating a CloudFlare Account

Creating a CloudFlare account literally takes seconds and all it requires is your email address, before asking you to choose a username, password and plan type. Once this is completed, you can move onto the process of adding the initial website to CloudFlare. All you need to complete this process is access to the DNS (domain name system) records of your domain name and a means of updating them. Most good registrars allow this as standard and provided you’re a little tech-savvy, you shouldn’t have a problem.

CloudFlare Registration

CloudFlare Registration

Adding Your First Domain

The first step to adding your website is to enter your domain into the CloudFlare setup that you are sent to after registration. Once you’ve done this, CloudFlare will begin to identify your current DNS records and attempt to copy these to CloudFlare itself.

Adding Your First Domain

Adding Your First Domain

The process takes around 60 seconds and you’ll be presented with a timer which, after the time runs out, disappears and is replaced by a button that will take you to the next step. Whilst this is happening, an introductory video plays giving a brief outline of the CloudFlare app and the process currently being completed.

Introductory Video

Introductory Video

Verifying DNS Records

On the next step, you will be presented with a list of your DNS records from which you can choose to keep, remove and add additional records to ensure that they are the same as the current settings. Since it has recognised all of mine, I can move onto the next step.

Verifying DNS Records

Verifying DNS Records

You will be displayed a final list of your DNS records which are categorised per the type and once you’ve triple-checked that these are all correct, they will be finalized and added to CloudFlare. It is also important to note that an additional subdomain (direct.yourdomain.com) has been added that will allow you to access your website directly, thus bypassing CloudFlare. Note, however, that this may involve some additional configuration if you use virtual hosts.

Final DNS Record Verification

Final DNS Record Verification

Updating Name Servers

Now’s the tricky part where you’ll need to update the name servers of your domain to point to CloudFlare. As most hosting providers and domain registrars generally adopt their own unique control panels for updating DNS records, I can’t explain the individual process for each one but I can give you a rough outline. To begin, navigate to your domain registrar and login to the control panel you are given access to. When this is complete, you will need to select the individual domain from your control panel and then there should be an option somewhere to “edit DNS settings”.

Editing DNS Settings

Editing DNS Settings within Domain CP

You will then be taken to another page from which you will be able to edit each individual record. Somewhere within this should be an option to edit the name servers and if you have never changed these, they will probably be defaulted to the name servers of your hosting provider or domain registrar.

Editing Name Server Records

Editing Name Server Records

Since CloudFlare’s already got a record of all other DNS settings associated with the domain, it’s safe to change these and from the final CloudFlare setup step, you will be told specifically what to change each one to.

CloudFlare Name Servers

CloudFlare Name Servers

Once you’ve updated them, you’re done. However, the actual propagation can take up to 24 hours so it’s best to leave it for a while – in the meanwhile your site is still accessible. From here, you can begin to take advantage of the features it provides to enhance the experience of your visitors.

CloudFlare Domain List

CloudFlare Domain List

Analytics

One of the great features of CloudFlare is its analytics. Since all of your traffic is being routed through CloudFlare, it can automatically generate statistics for your site. All of these statistics are presented in nice, easy-to-use graphs to beautifully display your data.

You can easily reference the number of page hits and visitors your website receives as well as being offered a view of the bandwidth usage of your website over a time period you specify. These can easily be filtered to show each individual website or you can simply get an overview of all of your websites that are using CloudFlare. Additionally, you can view the page view data in terms of actual visitors, bots and also threats.

CloudFlare Analytics

CloudFlare Analytics

It also possible to view how much bandwidth and requests were saved by using CloudFlare to easily show how much the app is benefiting your site. Overall, the statistics offered by CloudFlare, coupled with a more detailed general analytics app like Google Analytics, are perfect to easily monitor the traffic of your website.

Additional Analytics

Additional Analytics

Configuring Security

As well as CloudFlare’s included advanced security service, you can also identify individual users you would like to add to a whitelist or blacklist. You can choose to block or trust a single IP address, IP range or a whole country to prevent access or grant access to your website. This can be especially useful if you require your content to be blocked in a specific country (whilst still identifying individual IP addresses to grant access to).

Threat Control

Threat Control

Final Thoughts

When I first heard about CloudFlare, I thought that the idea was great. I’ve never really seen a solution like this out there and I didn’t expect it to offer so many features for free. Setup is really quick and simple, ensuring less time worrying about the security of the websites and more time focusing on content. The app overall looks and works perfectly and I have noticed a significant increase in the load time for my websites. I really recommend this app to those that have experienced (or expect to experience) trouble with spam bots but it can also be a great aid to speed up the time taken to load your site. Well done, CloudFlare!


  • http://codebyren.com Ren

    Hey, thanks for the heads-up, looks like an interesting service. Just a quick error in the post though:

    “…a solution to easily decrease spam on your site as well as significantly increasing the load time for your visitors”

    It should be “decreasing” the load time for your visitors.

    Cheers

    • http://volusion.com jimmy

      If you are a shopping website Cloudflare uses extortion to get you into the $200/mth pricing plan. After hooking you into their service you will notice you cannot upload your custom SSL. If you have a shopping cart you will only see their SSL. If you need your name to show up or you have purchased your own SSL before, that is all wasted down the drain.
      Hook and bait watch out…

  • http://leytonorientmessageboardhack.wordpress.com David Haymes

    Second paragraph.

    “Increasing load times greatly”

    Should be Decreasing.

    Good review, As a security advisor, this is definitely something I will look into, especially as it could take away much of the dark arts of server config at my client sites.

  • Blackhawk

    Absolutely a great review. As I see, you get most of the services for free. I hope it will stay like this later on.

    This website goes to my bookmarks for sure.

    • http://cloudflare.com Damon Billian

      “I hope it will stay like this later on.”

      Our plans are to keep all of the features that were free in the beta free forever.

  • http://www.defunkte.es DefunktOne

    Thank you for the review! I am contacting @cloudflare to see how this works with the shopify CMS. I am wondering if this service is redundant and or works seamlessly with a CMS.

  • http://www.lazybytes.com aharen

    Very interesting service, i wonder how much the speed would be reduced for the end user. Will give this a try for sure. thanks :)

    • http://cloudflare.com Damon Billian

      “Very interesting service, i wonder how much the speed would be reduced for the end user. Will give this a try for sure. thanks”

      Thanks! The average we see across all sites is a 30%+ improvement in page loads.

  • lowblow

    sweet, i just had my site hacked :( I’ll give this a try.

  • http://www.kinkyminx.com.au Lelo

    hmm would love to see comments from people who have used this & if site speed really does improve

  • Pingback: Linkswitch #44: Typography, Saying No, Social Influence

  • Pingback: Linkswitch #44: Typography, Saying No, Social Influence - Legit Way To Make Money

  • https://impres-host.com MaddinXx

    @Lelo

    I’m using it for my server and domains. I have their Pro Package and their SSL Support and I love it.

    The speed is really much better! no chance for hackers and a very easy SSL.

    You should definitly try this :)

  • http://thecopypasteblog.com Rahul Banker

    I did activate this service for my domain but since then, all my social bookmarking buttons are showing “zero” value in it and remote publishing via live writer facing login issues

  • http://machoarts.com Suraj @ machoarts

    I just installed it on our main blog, it took only 3 minutes for installation with W3tc plugin, very easy installation, first impression is awesome now waiting for tomorrow’s stat.

  • Pingback: خدمة CloudFlare للحماية وتسريع اداء مدونة ووردبريس

  • http://3dCart.com Cloudflare is a scam if you are running an ecommerce site

    If you are a shopping website Cloudflare uses extortion to get you into the $200/mth pricing plan. After hooking you into their service you will notice you cannot upload your custom SSL. If you have a shopping cart you will only see their SSL. If you need your name to show up or you have purchased your own SSL before, that is all wasted down the drain.
    Hook and bait watch out…

theatre-aglow
theatre-aglow
theatre-aglow
theatre-aglow