Performance Tip: Disable Optimizefs

CPanel utilizes a script called “optimizefs” that removes the atime attribute from certain files on the system. For larger servers, this can create a lot of i/o load for a problem that can be fixed simply by mounting your file systems with the noatim Metabolic Masterpiece e flag if your file system is ext2 or…

Read more

Tips to Reduce Your Customer Support Costs

When hosting websites, whether as a mainstream hosting provider, a hobby, or to supplement another service, it’s your job to make sure your customers have access to technical support in case they need help. Customer support is one of the highest expenses that a web host can encounter. Just my making a few small changes,…

Read more

Mass Change Default (Catch All) Addresses

I wrote this nice one-liner for a user in the cPanel forums asking how to change all their current default addresses to :fail: – http://thecpaneladmin.com/files/changedefaultaddr.sh.txt Before you do anything like this, you should back up /etc/valiases. Keep in mind also that you can change the default address for new accounts in WHM > Tweak Settings.…

Read more

That Huge .cpan Folder in /Home

A common question we get from cPanel administrators is whether it’s Ok to remove /home/.cpan since, on many servers, it tends to grow to a size exceeding 1G. The short answer is yes – installation files. If you find that yours is occupying too much disk space, delete it, and run the following commands: perl -MCPAN…

Read more

Command Line PureFTP Configuration on cPanel

Ftp is easy to configure on a cPanel server using WHM or the pureFTP configuration file. The FTP service configuration in WHM is a no-brainer, but for those looking to set up FTP from command line (such as for automation purposes), you can use cPanel’s built-in template system to apply configuration options that will not…

Read more

Managing Multiple Hard Drives with cPanel

If you have a server with single standalone drives, you may have considered the possibility of adding additional hard drives to provide more disk capacity to your system. Luckily, this is very easy to set up and use with cPanel. First things first, I’ll assume that you already have the hard drive physically installed in…

Read more

Dealing With Hacked Sites

This article will not go into detailed technicalities on identifying, troubleshooting, tracing, and fixing hacks. These topics are far too broad to cover in a single article, and is outside the scope of this article’s intent. This guide is to help you, the system admin, come up with a plan to handle situations involving breached…

Read more

Changing an FTP User’s Path

By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and each FTP user you create after that will have a path that you specify with you create the account in cPanel > FTP accounts. Unfortunately, cPanel’s interface does not currently let you change the FTP paths for…

Read more

Accessing cPanel Through A Firewall

There’s been a long-standing issue from a hosting provider’s point of where cPanel runs on abnormal ports, causing users behind firewalls to be unable to access cPanel. At first, there was cpanelproxy.net which offered (at that time) an automated script that users could install on their hosting accounts to route cPanel traffic over port 80.…

Read more

Log in