Loading...

Knowledge Base

How to Install mod_evasive on a cPanel VPS or Dedicated Server

When you want extra protection against high traffic spikes or DDoS-style attacks. This article explains how to install the mod_evasive module on cPanel VPS or Dedicated Servers.

mod_evasive
is an Apache module to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack. It is also designed to be a detection and network management tool, and can be easily configured to communicate with ipchains, firewalls, routers, and etc, mod_evasive presently reports abuse via email and syslog facilities.

You can install it using the steps below

1. Login to WHM as root
2. Navigate to Software>EasyApache4>Customise
3. Click on Apache Modules>Search>mod_evasive and toggle the checkbox
4. Navigate to Review and Click provision

We can verify whether the evasive module is running as expected by the following command

httpd - M | grep -i evasive


Feel free to reach out to our support team for any further queries.