Enable ModSecurity in Cpanel Server

Login to WHM. Go to ModSecurity™ Vendors. By default cpanel come with “OWASP ModSecurity Core Rule Set V3.0” rule. To enable it click on “+ install” link right side. To add a third party rule set, click on “Add Vendor” button. To install comodo WAF rules, enter https://waf.comodo.com/doc/meta_comodo_apache.yaml Click “Load”, you will see some info … Read more

jetbackup

JetBackup is a remote backup program for Cpanel Servers. You can get it from https://docs.jetbackup.com/v5.2/adminpanel/generalInformation.html#installation-guide To install Jetbackup for Cpanel, run Once installed, you need to do the following 1) Add a backup destination 2) Create a Backup Jobs

Stop xmlrpc.php attack on Cpanel Server

xmlrpc.php is part of wordpress. It is used for some API. This is used by hackers to bruteforce WordPress installations, that can cause high server load and slow server performance. On cpanel server, to prevent xmlrpc.php attack go to WHM > Service Configuration > Apache Configuration > Include Editor click on “Pre Main Include”, then … Read more

How to Install ImunifyAV on Cpanel Server

ImunifyAV is a Free version of a malware scanner for websites. To install ImunifyAV on Cpanel To start/stop, run If that did not work, you can use the following command, which works on Cpanel, Plesk, and DirectAdmin server Install Cpanel Plugin By default, ImunifyAV doesn’t show up in the Cpanel interface. To enable the Cpanel … Read more

CloudLinux PHP versions missing in PHP Selector

WHM EasyApache 4 PHP missing

On a Cpanel server running CloudLinux, PHP Selector did not show all PHP versions. I reinstalled EasyApache profile “CloudLinux + All PHP Options + OpCache + mod_lsapi”. Even after installing EasyApache profile with all PHP versions, PHP 7.2 and PHP 7.4 was missing on this server. To fix, the problem, i run

EasyApache 4 installing PHP 5

EDIT 2022-06-20: Cpanel completely removed support for PHP 5.6, so this method no longer works on AlmaLinux 8. If you need PHP 5.6, the best solution is to use CloudLinux, which provides support for older PHP versions. CloudLinux is a popular Linux distro used by many shared hosting providers as it allows for better security … Read more

KernelCare Unknown Kernel

On Cpanel server with KernelCare installed, i keep getting email This is because the kernel is not yet supported by kernalcare. Since this kernal is provided by CloudLinux, you don’t have to worry. CloudLinux support said they do add support for KernelCare after 3 to 4 days of releasing new kernel. To disable this warning, … Read more