149 articles
Knowledge Base
cPanel & WHM
149 articles in the cPanel & WHM category · page 6 of 7.
- whmapi1, uapi, cpapi2 — when to use which cPanel API, and why it still matters cPanel ships three API surfaces, each with a different scope and a different call convention. A short guide to which one you should reach for, by task.
- cPanel backup configuration — the WHM toggles that determine whether a restore actually works cPanel's built-in backup tooling is fine if configured deliberately. Default settings produce backups that look complete and fail on restore. A short configuration runbook.
- postwwwacct hooks — the shapes that survive a cPanel upgrade Standardized post-account-creation hooks let you wire CRM, DNS clusters, and monitoring into createacct without patching cPanel internals. The shape matters.
- Changing a cPanel account's username — and why cPanel does not support rename cPanel deliberately does not implement an account-rename operation. The supported path is terminate-and-recreate; the unsupported path is hacking the user file and accepting the breakage.
- Creating a WHM reseller and the ACL template that actually scopes them Reseller creation is a two-step dance — make the user, then bolt on an ACL list. Defaults are dangerously broad; a tightened ACL template per reseller class saves trouble later.
- Suspend versus terminate — when to use suspendacct, when to use removeacct Suspension and termination look similar from the WHM interface but have very different downstream effects on backups, DNS, mail, and customer recovery time.
- Auditing reseller ACL templates — finding the ACLs you no longer need granted cPanel adds ACLs on every major release. ACL templates drift toward overly broad over time. A short audit pattern that catches accumulated grants before they become incidents.
- Designing WHM API token scopes — one token per purpose, never a god token A single root token "for automation" is the most common audit finding on takeover. Scoped tokens by purpose, with ACLs trimmed to what each integration needs, is the only sustainable shape.
- Keeping a Tweak Settings change log — and why grep on cpanel.config is not enough Tweak Settings drift across a fleet is invisible without a change log. A short pattern for tracking what changed, when, and why — using git instead of a notebook.
- Feature list defaults vs explicit overrides — what cPanel actually ships A cPanel feature list inherits unset features from the default list. Knowing what is set explicitly vs inherited is the difference between a small list of changes and a kitchen-sink replacement.
- WHM feature lists — what actually happens when a feature is disabled Disabling a feature in a WHM feature list hides the UI tile but not always the underlying capability. A short guide to the gap between visible and enforceable.
- cPanel account skeleton directory — putting default files into every new account cPanel's skeleton directory drops files into every newly created account's home. It is the supported way to deploy boilerplate — index pages, error templates, robots.txt — without scripting.
- IPv6 in WHM — assigning a /64, exposing accounts, and the order of operations cPanel grew real IPv6 support but the defaults still treat v6 as second-class. A walk through enabling v6 on a server, assigning a range, and binding it to accounts.
- Auditing password changes — postpasswd hooks for compliance and notifications Customer password changes happen all day; without a hook, the security team sees none of them. A short postpasswd hook gives you the audit trail compliance needs.
- Rebuilding DNS cluster trust after a token rotation or peer rebuild When a cluster peer is rebuilt or its API token rotated, the trust chain breaks silently — zones stop syncing in one direction. A short playbook to detect and repair.
- Reseller bandwidth limits in WHM — how they cap accounts and when they undercount A reseller bandwidth cap is enforced at the sum of their accounts, not at individual ones. The reset cadence and the counter sources matter when usage looks wrong.
- Distributing a custom cPanel theme skin across resellers without per-server drift A custom cPanel theme deployed once on the master needs a deterministic way to land on every WHM in the fleet. The wrong path is rsync; the right path is a package.
- WHM createacct — UI vs API workflow, and which one to trust The WHM Create a New Account UI hides defaults the API surfaces. A practical breakdown of when to use which path and how to make scripted account creation idempotent.
- Revoking a leaked WHM API token without breaking the integrations that still need it A token leak forces an instant revoke, but a clean revoke means listing what the token was used for first. A short incident runbook in the right order.
- prewwwrestore hooks — refusing a botched restorepkg before it touches the disk A pre-restore hook can block an account restore that would conflict with existing state, exceed quota, or violate policy — and refuse before any filesystem changes commit.
- Building a reliable pkgacct/restorepkg pipeline for routine account moves pkgacct and restorepkg are the building blocks; the pipeline wraps them with verification, logging, and rollback so account moves stop being one-offs.
- Tightening WHM session timeout and security without locking out your own scripts WHM session security defaults are permissive. A short list of the toggles that matter — session timeout, IP locking, 2FA — without breaking the automations that share an IP.
- Scheduling cPanel updates without breaking customer mail flow cPanel auto-updates can drop mail for minutes at a time. Here is how we schedule the upgrade window so customer SMTP and IMAP stay reachable through it.
- Why WHM's 'Modify an Account' hangs and how to recover WHM's Modify an Account page can spin forever when quotas, mail routing, or a stuck queue block the change. Here is how to identify the cause and finish the edit.