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 …

Control Panel, CPanel / WHM

How to move email accounts from G-Suite to cPanel

In this guide I will be using IMAPSync tool to move emails from G-Suite to cPanel. Step 1. Enable less secure apps on G-Suite To move email accounts from G-Suite to cPanel first enable the “Allow users to manage their access to less secure apps” option in Google Admin. Security > Access and data control > …

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 …