How to Install mod_cloudflare on cPanel


Installing mod_cloudflare on cPanel

CloudFlare is a performance and security service. The CloudFlare cPanel plugin makes it easy to integrate into your hosting control panel. The CloudFlare module automatically translates visitor IP addresses to reflect the visitor’s original IP address rather than the IP address of the CloudFlare proxy servers.

Installing mod_cloudflare on a cPanel server is very easy. Just follow 8 steps as below. 

Step 1 :

Download core file by using the following command : 


Step 2 :

Connect to your server through SSH and log in as root.

Step 3 :

Change directory to /usr/local/src by using the following command : 

cd /usr/local/src

Step 4 :

Get the source code for mod_cloudflare by using the following command :

wget –no-check-certificate CloudFlare-Tools/master/mod_cloudflare.c

Step 5 :

Build and install mod_cloudflare by using Apache Extension Tool by using the following command : 

apxs -a -i -c mod_cloudflare.c

Step 6 :

Restart the Apache Server daemon by using the following command : 

service httpd restart

Step 7 :

Update the Apache configuration data by using the following command : 

/usr/local/cpanel/bin/apache_conf_distiller –update

Step 8 :

Confirm the module is loaded properly by using the following command : 

httpd -M | grep cloud



Apache will log the visitors’ IP addresses instead of the CloudFlare IP’s.


Read More

How to Install MODx using Softaculous in cPanel

What is MODx?

MODx is an open source Content Management System and Application Framework. Initially inspired by Etomite 0.6, MODx is an ongoing project written by Raymond Irving and a core team of contributors at the MODx Project. MODx is distributed under the GPL license and is now run by a professional team of developers from all over the world.

Install MODx


How to Install MODx using Softaculous in cPanel

Follow these steps to install MODx using Softaculous

1) Login to the Cpanel




2) Click on the Softaculous icon in the Software/Services section of cPanel. The Softaculous installer page appears.




3) Go to the top right corner and click on the Search field. type modx and then press Enter.

Search box

4) Go to the top right and click on the blue button labeled Install.




5) Fill out all of information the boxes.

6) In Directory type the name of a new directory you would like created.


MoDx software setup


7) By default, the box will be left blank to install the software into your main directory.

8) When you are finished, Click Install.


MODx Installed successfully


9) Then you will get a confirmation page of your installation.

Read More

How to Configure Multiple shared IP’s in WHM ?

It is not possible to add multiple shared IP’s from WHM but it is possible to do it from SSH.

First of all we need to create a /var/cpanel/mainips/ directory if it is not present.

mkdir /var/cpanel/mainips/

Then we have to create a file.

vi /var/cpanel/mainips/root

Add all IP’s into it. save the file and quit.

Now login to WHM and check the IP’s

Home>>IP Functions>>Show/Edit Reserved IPs


Read More

How to install kloxo Control panel in centos ?


Go to below path.

cd /usr/local/src

Use the wget Command to download latest version of Kloxo Auto Installer Script


Give proper permission.

chmod 777

Install Kloxo control panel as Master.

./ –type=master

Next follow the instructions. Once done you will get below message.

Congratulations. Kloxo has been installed succesfully on your server as master

You can connect to the server at:
https:/serverip:7777 – secure ssl connection, or
http:/serverip:7778 – normal one.

The login and password are ‘admin’ ‘admin’. After Logging in, you will have to
change your password to something more secure

We hope you will find managing your hosting with Kloxo
refreshingly pleasurable, and also we wish you all the success
on your hosting venture

Thanks for choosing Kloxo to manage your hosting, and allowing us to be of


Once you will get the above message then try accessing above link in browser. If still you are unable to access it then try adding port in iptables.

You can use one of the below command to enable port in iptables:

iptables -A INPUT -p tcp -m tcp –dport 7777:7778 -j ACCEPT


iptables -A INPUT -p tcp -m tcp –dport 7777 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 7778 -j ACCEPT

Once done restart the iptables.

/etc/init.d/iptables restart


Read More