Setting Up Custom Error Pages

When visitors coming to a site request pages that the web server cannot find, the web server generates and displays a standard HTMLClosed HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser. page with an error message. You may want to create your own error pages and use them for your sites or individual virtual directories. The following error messages are the ones customized most often:

To configure the web server to show custom error pages for a site:

  1. Switch on support for custom error documents (which are enabled by default).
    1. Go to the Websites & Domains tab and in the list of domains, click the domain name you need.
    2. Select the Custom error documents checkbox.
    3. Click OK(Custom error documents are enabled on all accounts be default).
  1. Connect to your FTPClosed File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another host over a TCP-based network, such as the Internet. account, and go to the error_docs directory.
  2. Edit or replace the respective files. Be sure to preserve the correct file names:

The web server will start using your error documents in a few hours, after it is restarted.