Updated: 8 October 2026 · Applies to: cPanel & WHM 138, WHM as root or as a reseller with the Web Template Editor privilege (from cPanel documentation)

To change the page visitors see when a cPanel account is suspended, log in to WHM and open Account Functions › Web Template Editor, select the Account Suspended template, edit the HTML (or upload your own file) and click Save. The page is used for the suspended accounts that you own.

How the suspended page works

According to cPanel, suspending an account adds an Apache include file (/etc/apache2/conf.d/includes/account_suspensions.conf) with a RedirectMatch rule that sends all of the account's website traffic to the suspended template. The template itself is stored in /var/cpanel/webtemplates/root/english/suspended.tmpl. Two things follow from this:

  • The page cannot use images, CSS or scripts from the suspended website, because those requests are redirected too. Put everything inside the HTML, or store images in /usr/local/cpanel/img-sys/ and link them as /img-sys/yourimage.png, as cPanel recommends.
  • cPanel advises editing templates only through the Web Template Editor, not by changing the files directly.

Edit the Account Suspended template

  1. Log in to WHM as root (https://your-server-hostname:2087).
  2. Go to Home › Account Functions › Web Template Editor.
  3. Click the Account Suspended tab.
  4. Change the HTML. Click Preview to check it before you save.
  5. Click Save.

To use a page you made elsewhere, open the same tab, click Choose File under Upload Your Own Template, select the file and click Upload Template. If something goes wrong, Revert brings back the last saved version and Revert to Default restores cPanel's original page.

Contact details on the default page

The default Account Suspended template shows the contact information from Home › cPanel › Customization, on the Public Contact Information tab. If that is empty, it shows the account's webmaster email address instead. Often the quickest improvement is to fill in that tab and keep the default template. If you do not want any contact details on the page, cPanel says to comment out or remove the reason-text section of the template.

An account suspended HTML template you can use

This page is self-contained: the styles are inline, it loads nothing from the suspended site and it works on phones. Replace the email address and wording with your own.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Website temporarily unavailable</title>
<style>
  body { font-family: Arial, Helvetica, sans-serif; background: #f4f6f8; color: #222; margin: 0; padding: 40px 16px; }
  .box { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 32px; }
  h1 { font-size: 24px; margin-top: 0; }
</style>
</head>
<body>
<div class="box">
  <h1>This website is temporarily unavailable</h1>
  <p>The hosting account for this website has been suspended.</p>
  <p>If this is your website, log in to your client area or email support@example.com and we will help you restore it.</p>
</div>
</body>
</html>

Tips for the wording:

  • Visitors to the site see this page, not only the account owner, so keep it neutral. Do not mention unpaid invoices, abuse or other reasons.
  • Give the owner one clear way to reach you: a client area link or a support email address.
  • If you link to images or files outside the img-sys directory, cPanel says to write the [% data.protocol %] tag in place of http or https.

Resellers have their own page

According to cPanel, placeholder pages created for one account appear only for that account's sites: the page root saves does not appear for sites owned by reseller accounts. A reseller who has the Web Template Editor in their WHM can set their own Account Suspended page for their customers. The root user grants or removes that tool in Home › Resellers › Edit Reseller Nameservers and Privileges. cPanel lists /var/cpanel/webtemplates/reseller/english/suspended.tmpl or /home/user/public_html/suspended.page as the places a suspended reseller's own template may be stored.

Check the result

  1. Create a test account in WHM, or use one you can safely take offline for a minute.
  2. Suspend it in Home › Account Functions › Manage Account Suspension.
  3. Open the account's domain in a private browser window and check the page on a phone as well.
  4. Unsuspend the account in the same interface.

If you still see the old page, clear your browser cache or test with curl -sL http://test-domain.example/, which follows the redirect and prints the HTML. If you see cPanel's Default Website Page instead, the domain points to this server but no account on it owns that domain, according to cPanel.

Related guides: suspend or unsuspend an account in WHM, list, suspend and unsuspend accounts from the command line and add your company branding to cPanel. For hands-off WHM administration, see our cPanel server management service.

Official documentation: Web Template Editor · What happens when you suspend an account

Was this answer helpful?

Still stuck? Open a ticket