There was a situation today where I had to mass-move a bunch of accounts from one partition to another. WHM’s Rearrange an Account function does this one account at a time, but to move over 50 of them, a more scripted solution was necessary. Here’s how I did it on a live server without causing…
Read more
cPanel currently has four templates that are visible to your users: Default website: Appears to visitors who navigate to a site that points to the server but isn’t configured in Apache Account move: Appears to visitors who navigate to a site that has moved Connection selection: Appears to visitors who navigate to a site that…
Read more
We’ve developed our first cPanel 11.25 cheat sheet, now available for your downloading pleasure. The sheet is comprised of common file, script, and configuration locations for help at a quick glance. [dm]1[/dm] More cheat sheets will be available soon! Check back on our Cheat Sheets page for more.…
Read more
Cpanel 11.25 restructured the way that bandwidth RRD files are being processed, in that each service has two RRD files – one for peak, and one for rate. The “peak” file is used for long timespans of a month or longer, and the “rate” file covers a timespan of a week or less. The following…
Read more
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
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
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
Update: As of cPanel 11.4x, Roundcube only supports SQLite. cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL. After benchmarking resource usage and performance, I’ve come to the conclusion that SQLite is definitely the best way to go for Roundcube. Having trou Duplicate File Cleaner ble making the…
Read more
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
There may come a point in time where you need to change the shared IP address of a server, with little to no interruption in service for your users. This guide will show you how to change the shared IP of your cPanel server with the method I’ve used in the past. This is intended…
Read more