Cloudflare

How to Get FREE DDOS Protection for your Websites

Denial of Service attack (DoS attack) or Distributed Denial of Service attack (DDoS attack) is an attempt to make a website unavailable to its intended users. It generally carried out to temporarily or indefinitely interrupt or suspend services of a host connected to the Internet.

According to a recent report, DDOS attack are on the rise. The bad news is DDOS prevention service are very expensive.

If you have websites & it is quite popular, you may already experience or may experience this kind of attack sometimes in the future.

There are 2 ways to get it for free.

  1. Sign up for Cloudflare. They manage to stop 100Gbps attack to Spamhous in March 2013.
  2. Sign up for LiteSpeed Anti-DDoS Proxy Service.

If you find another FREE anti-DDOS service. kindly leave it in the comment area.


Get Visitors Actual IP Address with LiteSpeed & Cloudflare

If you are using Cloudflare, your server will log Cloudflare IP address when visitors coming to your website. This problem can be solved by using mod_cloudflare for Apache server.

However, the method won’t work with LiteSpeed. Fortunately, LiteSpeed has a much simpler method to get the actual visitor’s IP address.

Use the following steps in order to obtain actual visitor’s IP address if you are using LiteSpeed & Cloudflare.

  1. Login to LiteSpeed Web Admin Panel
  2. Browse to Configuration → Server  General Settings
  3. Edit “Use Client IP in Header” to “Yes
  4. Save & Start LiteSpeed Gracefully