How do I configure a custom error page?
Please note: This support article is a guide for our Linux users only.
The following article explains how to configure a custom error page. Custom error pages are used to give the user more detailed information when the requested page has an error. The most commonly used customer error page is a 404 error page. A 404 error occurs when the requested page does not exist. It may be necessary to create the error page, depending on how you would like to handle the error.
To configure a custom error page, please follow these steps:
- Open a browser window and go to www.HostMySite.com.
- Click on Control Panel Login.
- Log into the Control Panel as one of the following:
- Account Administrator and select the appropriate domain
- Technical Contact for the domain
- Click on Apache and select Custom Errors.
- Choose an option from the list.
To add a custom error page, please follow these steps:
- Click Add Error Page.
- Select the error number from the drop down. The most common is 404 which represents a Page Not Found error.
- Enter the full path to the error page, starting with /vservers/domainname/htdocs/.
- Click Add Error Page.
To edit a custom error page, please follow these steps:
- Click Edit Error Page.
- Select the error page from the drop down.
- Enter the full path to the error page, starting with /vservers/domainname/htdocs/.
- Click Edit Error Page.
To delete a custom error page, please follow these steps:
- Click Delete Error Page.
- Select the error page from the drop down.
- Click Delete Error Page.