Skip to content

Documenting an inherited cPanel server: the essential captures

The handover document for a cPanel server is short — about one page — but it covers the things that take hours to rediscover. Here is what belongs in it.

A handover document for a cPanel server is not a manual; it is a one-page artifact that captures the unobvious facts — the things you would otherwise spend three hours rediscovering during an incident. Done well, it is the difference between answering “I do not know” and answering “let me check the document”. The trick is being ruthless about what counts as essential.

What’s happening

Server documentation rots fast. Three months after writing, half the IPs have changed, two accounts have been added, one customer has churned. The way to keep documentation useful is to capture only what is hard to look up live, leave the easy stuff out, and treat the document as a starting point rather than a source of truth. The artifact should fit on one page; if it does not, it is no longer a handover document.

How to verify

Run these to gather the data the document needs:

# server identity
hostname -f
whmapi1 get_license_info | grep -E "ip|expire|customer|company"
whmapi1 listips
# OS and cPanel versions
cat /etc/redhat-release || cat /etc/os-release
/usr/local/cpanel/cpanel -V
# capacity headline
df -h | grep -E "/home|/backup|/var"
free -h | head -2
nproc
# top accounts by size
du -sh /home/* 2>/dev/null | sort -hr | head -5
# resellers and packages
whmapi1 listresellers
whmapi1 listpkgs | grep -E "name|disk|inodes" | head
# backup configuration
whmapi1 backup_destination_list
ls -lt /backup/*.tar.gz 2>/dev/null | head -3
# critical cron
crontab -l

The fix

The one-page handover should contain:

  1. Identity — hostname, primary IP, secondary IPs, datacenter/provider, account it belongs to. One block at top.
  2. Stack — cPanel version, OS, PHP versions installed, web server (Apache or LiteSpeed), database engine, mail engine. One line each.
  3. Critical accounts — top 5 by traffic or business value. Name, primary domain, who the contact is, what is special about this account (“the marketing site, hard deadline every Friday”).
  4. Backup and restore — where backups land, retention, how to test a restore, who has the keys.
  5. Known surprises — anything non-obvious: “Domain example.com has a custom Exim filter in /etc/exim.conf.local”; “User acmecorp runs a cron at 03:00 that holds the database lock for 4 minutes”; “MX for example.net is external — do not try to fix bounces from this server”.

Limit to one page. If something does not fit, it is either obvious from the system itself or low enough priority to leave out. Stack Harbor includes a handover document in every cPanel server administration engagement — start a conversation before a takeover.