Thursday, May 23, 2013

ModEvasive Apache Module For DDOS Prevention

ModEvasive Apache Module For DDOS  Prevention.

To install it login into server and run the following commands:
cd /root/
tar zxf mode_evasive-1.10.1.tar.gz

cd mod_evasive
then type…
/usr/sbin/apxs -cia mod_evasive20.c

Now, Please edit the  Apache conf /etc/httpd/conf/httpd.conf (on RHEL/Centos/Fedora)

DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10

Restart Httpd

/etc/init.d/httpd restart

Tuesday, May 7, 2013

How to Update the Nameserver on WHM.

Here is simple steps :

cp /var/cpanel/nameserverips.yaml /var/cpanel/nameserverips.yaml.bk

rm -f /var/cpanel/nameserverips.cache

Change in file corrective changes:

vi /var/cpanel/nameserverips.yaml

Update new NS records with :


Now check  on WHM :