bspacer1 bspacer2
webmail hosting forum clients about

Computer Co-op, CornerNET Internet Gateway, and PJR Solutions is owned by PJR Sales & Service. Quality products and online services since 1991. We can be your
Complete Computer Connection

Hosting @ $5.95

Domains @ $16.98
Home PagePortal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloadsRegister

Knowledgebase
You are here: Portal Home > Knowledgebase > cPanel Related Issues > cPanel HOW-TOs > How to add custom error pages?

How to add custom error pages?

Custom error pages can be created from cPanel > Error pages.

Once you create them you should create a .htaccess file in the public_html directory containing one of the lines below. If you already have a .htaccess file please add these lines:

For custom 404 error page:
ErrorDocument 404 /~cpanel_username/404.shtml

For custom 500 error page:
ErrorDocument 500 /~cpanel_username/500.shtml



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
How can I create different types of web redirect with my cPanel? (Views: 9230)
How can I enable anonymous FTP access in cPanel? (Views: 10271)
How can I retrieve the raw Apache access logs for my site? (Views: 2079)
How can I check my quota and bandwidth limits/usage? (Views: 11911)
How can I password protect a directory with cPanel? (Views: 11148)

Powered by WHMCompleteSolution


Copyright © 1994-2021 PJR Sales and Service All Rights Reserved