Getting Started With CloudFlare™
I. How To Add CloudFlare to Your Website
II. How to Configure Your DNS for CloudFlare
III. How To Configure Apache to Log Real Visitor IPs
IV. Exploring the CloudFlare Dashboard
Pre-Flight Check
- This article assumes that you have already set up CloudFlare and added your domain.
- We’ll be installing the mod_cloudflare module for Apache, and you’ll need root-level SSH access to proceed.
- If you’re using a web server other than Apache, you’ll need to enable the appropriate module for your web server. For Nginx, you can use the ng_http_realip_module, and an HTTP Module for IIS also is available.
Installing mod_cloudflare on CentOS 6 and CentOS 7 Servers with cPanel
To install mod_cloudflare on a cPanel server running CentOS 6 or CentOS 7, simply yum install our mod_cloudflare package:yum install lw-mod_cloudflare-cpanel
We built the RPM in a way that does not require you to run EasyApache, because Heroic Support® is what we do 🙂
To confirm that the module has been added to Apache, run this command:
httpd -M | grep -i cloud
Installing mod_cloudflare on Core-Managed CentOS 6 and CentOS 7
To install mod_cloudflare on a core managed (non-cPanel) server running CentOS 6 or 7, simply yum install our mod_cloudflare package!yum install lw-mod_cloudflare
To confirm that the module has been added to Apache, run this command:
httpd -M | grep -i cloud
Installing mod_cloudflare on Ubuntu/Debian Core-Managed Servers
To install mod_cloudflare on Ubuntu/Debian Core Managed, simply apt-get install our mod_cloudflare package:apt-get install lw-mod_cloudflare
To confirm that the module has been added to Apache, run this command:
httpd -M | grep -i cloud