Skip to content
HoganHost blog

Customizing Error Pages in cPanel

When a visitor opens a page that does not exist, the server shows an error page. The most common is the 404 page, which means the address was not found. Default error pages are plain and technical, which can leave visitors stuck with nowhere to go.

Custom error pages let you explain the problem in plain words and point visitors back to the rest of your site.

Open Error Pages

  1. Log in to cPanel.
  2. In the Advanced group, click Error Pages.

Choose a Domain and an Error Code

Pick the domain you want to change. Then choose the error code you want to customize. Code 404 covers missing pages, and it is the one visitors see most often. Code 500 covers server problems, and it is worth setting too.

Write a Helpful Message

Keep the message short and friendly. A good 404 page does three things.

  1. Says plainly that the page could not be found.
  2. Links to your homepage or a search page.
  3. Offers a contact option, so visitors can report a broken link.

Avoid technical jargon. Your visitors do not need to know what the server did.

Save and Test

Save your changes, then open a page that does not exist on your site. Add a made-up word to the end of your domain address to trigger the error. Check that your new message appears and that the link works.

Remember the Limits

Custom error pages change what visitors see, but they do not fix broken links. Check the Errors tool from the Metrics group, covered on Day 9, to find links that send visitors to missing pages. Fix those links or add redirects, as covered in the Day 2 guide.

A helpful error page keeps visitors on your site. Explore HoganHost’s cPanel shared hosting plans to build your site on a plan that suits your needs.

Share this article
Written by

Join the conversation.

Your email address will not be published. Required fields are marked *

Your next chapter starts here

Put your next big idea online.

The right hosting. A name of your own. A real team in your corner.

Explore Hosting