Updated: 22 October 2026 · Applies to: cPanel & WHM, root access required
You can replace cPanel's default pages (account suspended, account moved, connection selection, and the new-account placeholder page) with your own HTML. This needs root access to WHM and a terminal, plus the HTML you want to use.
Change the default website, account move, connection selection and suspended templates
- Log in to WHM as root.
- Search for Web Template Editor and open it from the Account Functions section.
- Choose the tab for the template you want to change; each one lets you upload an HTML file or paste HTML source directly.
- Images used in a template must live in
/usr/local/cpanel/img-sys/and be linked as/img-sys/..., if you have access to that directory. - Click Save.
Set a default index.html for newly created accounts
- Log in to the server as root, or use WHM's Terminal option.
- For accounts owned directly by root, copy your HTML and images to
/root/cpanel-new/public_html. - For accounts under a specific reseller, say one with the username
exampleuser, copy the files to that reseller's own path instead, for example/home/exampleuser/cpanel-new/public_html. - Every new account created afterward, under the matching root or reseller account, automatically gets your custom HTML in its
public_htmldirectory.
If you need help setting this up, contact support.
Keep a copy of the original default templates before replacing them, in case you want to revert later; WHM does not keep its own backup of the previous version once you save a new one through the Web Template Editor.