Useful commands to run from an SSH connection

find / -perm 0777 -type d  >> opendirs.txt Creates a list of all “world-writable” folders on the server, meaning that anyone can edit or add to the contents of this folder.  Permissions on folders that are public-facing (e.g. public_html/ and any of its subdirectories) should never be set to 777 if at all avoidable, as […]

Read More

Where in WHM do I set a PTR/reverse DNS record for my IPs?

Your IPs PTR records need to be set in your myCP control panel, not WHM/Cpanel.  The link in particular is: Add / Edit Reverse DNS records   If your account is a VPS, you will need to open a support ticket. Please indicate what record entry you want for each IP in your account.

Read More

Frontpage and WHM/cPanel

FrontPage support is still available through EasyApache, although there are some common issues that arise from time to time.  The vast majority of FrontPage issues can be fixed by running /scripts/initsuexec If the above does not work, often times simply uninstalling and reinstalling FrontPage extensions for the problematic domain in question serves to fix the […]

Read More

WHM Script serving security

suExec and PHPsuexec When compiling apache using EasyApache, you can set the suExec option. This forces the script or CGI file to be executed as the owner, and enforces permissions. If you use PHP, you should consider using PHPsuexec. The advantage here is that all PHP scripts running on the server are ran as the […]

Read More

What’s an Add-on domain versus a parked domain?

In cPanel/WHM terms, an add-on domain is a VirtualHost with its own set of log files, stats, etc, and is treated as a subdomain.  A parked domain is simply an alias to an already existing domain.   For example, if:   test.example.com, is an add-on domain for example.com – it will contain its own files […]

Read More

Install APF Firewall

APF (Advanced Policy Firewall) is an easy to install and configure firewall package that many users choose to run on their WHM/Cpanel servers for security. The installation and configuration need to be done via an ssh connection as root. Here are the steps involved: Log in as root, then run the following commands, one at […]

Read More

I want to update my cPanel/WHM server, how do I do this?

First check to see which version you are running: this is shown in the upper-right corner of your WHM screen. Then, check for the latest version on http://layer2.cpanel.net; If the version you are running is older than the current version, select the cPanel category then the Upgrade to Latest Version button or you can run […]

Read More

I need additional PHP modules, how do I enable them?

WHM provides you an easy interface to add and remove php and Apache modules, aptly named “EasyApache.” In order to take advantage of EasyApache to it’s fullest, it is suggested you visit http://twiki.cpanel.net/twiki/bin/view/EasyApache3/WebHome and review the documentation. Since most people will only need a couple of modules installed, we’ll run through the process here.   […]

Read More

What is my default login for WHM?

By default, your login will be “root” & your password for WHM will be the same as the password you’ve chosen for your server’s root login. If you’re unable to login using the root password, please let us know by opening a support ticket.

Read More