How to Create Custom Error Pages in cPanel

July 18, 2023 / cPanel & WHM

Custom error pages in cPanel allow you to display user-friendly messages when visitors encounter errors, such as a missing page. This article explains how to create custom error pages in cPanel.

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

In this way, you can create custom error pages via cPanel. For more information on cPanel, visit our knowledge base section.

Spread the love