Prepare a custom error page

Article

Give visitors a useful message when they reach a page that cannot be found.

  1. Log in to cPanel from your client area. If unavailable, use the panel address in your welcome email. The cPanel dashboard appears after successful sign-in.

    The own demo domain in cPanel, outlined and marked 1.
  2. Open Error Pages.

    Error Pages in Tools, outlined and marked 2.
  3. Check the domain in Managing. Select the intended website if your account has more than one.

    The intended demo domain in Managing, outlined and marked 3.
  4. Choose 404 (Not found). Its editor opens. Use Show All HTTP Error Status Codes for other codes.

    404 (Not found) in the common error codes, outlined and marked 4.
  5. Write your message in the editor. HTML is supported. This example asks the visitor to check the address or return to the home page.

    A short fake page-not-found message in the native editor, outlined and marked 5.
  6. Choose Save. Wait for confirmation that 404.shtml was saved.

    Save for the own demo error page, outlined and marked 6.
  7. Choose Go Back to editing file. The editor should show the message you saved.

    The same message in the reopened editor, outlined and marked 7.
  8. Open a missing page on your website. The visitor-facing 404 page should show your saved message.

Keep private account and server details out of an error page.

Video walkthrough

Sources

For help, contact Faciotech support.