Category: Cloud Linux

Cloud Linux, Control Panel, CPanel / WHM

How to enable ?? ModSecurity and ?? Comodo WAF in cPanel / WHM

Login to WHM > ModSecurity™ Vendors and under “OWASP ModSecurity Core Rule Set V3.0” click on the “+ install” link and to add a third-party rule set click on “Add Vendor” button. To install Comodo WAF rules: Click”Load” and you will see some info auto-filled, scroll down and click on the “Save” button. That’s it, …

Cloud Linux, Control Panel, CPanel / WHM

How to stop xmlrpc.php attacks on WordPress in Cpanel / WHM server

xmlrpc.com is a WordPress file that was intended to be used for API’s but lately it’s more and more used as a way for hackers to brute-force WordPress installations. To block access to xmlrpc.php on a single WordPress installation add the following code to your .htaccess file: And in WHM to block access to xmlrpc.php …

Cloud Linux, Control Panel, CPanel / WHM

How to create bulk email accounts in cPanel

Here is how to bulk create email accounts in cPanel under a single domain name. First, let’s create a list of user accounts and passwords separated by colon: Then a shell script This will set unlimited quota for all acoounts, to set a specific mailbox quota use -quota option: Email accounts will be created and …

Cloud Linux, Control Panel, CPanel / WHM

How to Create Secure Passwords from the Terminal

Studies on passwords show that people are still using the same passwords even through several years.The worst passwords are the same. This is a danger in our security, sooner or later we could be hacked. Take a look of the summary of the worst passwords from Wikipedia. In general it’s recommended to use a different password for each site or service, avoiding …

Cloud Linux, Control Panel, CPanel / WHM

Exclude ai1wm-backup folder from Softaculous backups

For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly increase the size of Softaculous backup files. To exclude ai1wm-backup folder from Softaculous backups SSH into your server and navigate to the following path: For cPanel /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooksCopy For Direct …