Posts in the ‘cPanel’ Category

cPHulk Brute Force Detection

cPHulk Brute Force Detection

Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here’s a quick and easy way to get your access back when receiving this error message. This account is currently locked out because a brute force attempt  was detected. Please wait …

Install Nginx in a cPanel server

Install Nginx in a cPanel server

1) Go to WHM > Tweak Settings and change the Apache port: The port on which Apache listens for HTTP connections. Specifying a specific IP will prevent Apache from listening on all other IPs. (default: 0.0.0.0:80) To: 0.0.0.0:8081 ———- 2) Grab a copy of the nginx installation script: mkdir /root/cpacct && cd /root/cpacct wget underhost.com/nginxsetup.tar …

Files – File Permissions

Files – File Permissions

Changing file/folder permissions All files on UNIX (including Linux and other UNIX variants) machines have access permissions. In this way the operating system knows how to deal with requests to access the files. There are three types of access: Read – Denoted as r, files with read access can be displayed to the user. Write …

Automatic cPanel backup with cron & PHP

Automatic cPanel backup with cron & PHP

The situation is this: You use cPanel on our web hosting server. You use the cPanel backup tool to regularly backup /home directory (includes my web files, mail, etc), and my MySQL databases. You love the fact that you can use it to backup to a remote FTP server, and you do that on a …