How to create custom error pages in cPanel

February 25, 2022 / cPanel & WHM

This article describes how to configure custom error pages in cPanel to improve the visitor experience during errors.

Follow these steps to modify or create a custom error page:

  1. Log in to your cPanel Account.
  2. Use the search bar to find Advanced tools and click Error Pages.
    error pages
  3. Under Step 1, select the domain for which you want to configure error pages.
  4. Under Step 2, click the error page you want to customise (for example, 404 Not Found).
    error pages
  5. Enter the HTML content you want to display on the error page, such as:

    <h1>404 Not Found</h1>
    <p>The requested page, <!--#echo var="REQUEST_URI" -->, is not available.</p>
  6. Click Save to apply the changes.
    save

This is how you can create custom error pages in cPanel. For more cPanel-related guides, refer to our Knowledge Base.

Spread the love