Knowledgebase
How to enable custom error pages in Plesk - Windows
Posted by zz-James Moir on 21 June 2016 04:07 PM

Overview

Custom error pages allow you to show a customised page for all web server errors, but most commonly, 404 Not Found and 500 Internal Errors. This allows you to show a more user friendly or branded page when a page is not found or in the event of 500 Internal Errors, capture or notify the webmaster so that the errors can be corrected.

This article will show you how to enable custom error pages in Plesk under Windows. There is a different method for Unix hosted accounts, see How To Enable Custom Error Pages In Plesk - Unix

Enabling Custom Error Pages in Plesk Windows

  1. Turn on support for custom errors documents in Plesk
    1. Once logged into Plesk, click on your domain name and then click the Setup icon.
    2. Select the Custom Error Documents check box.
    3. Click OK
  2. Click the Web Directories icon.
  3. Click the Error Documents tab and click the required document in the list.
    • To use the default document provided by the web server for this error page, select Default in the Type menu.
    • To use a custom HTML or ASP document already located in the error_docs directory on a domain, select File in the Type menu and specify the file name in the Location field.
    • To use a custom HTML or ASP document located in directory other than error_docs on a domain, select URL in the Type menu and enter the path to your document in the Location field. The path should be relative to the virtual host root (that is, <vhosts>\<domain>\httpdocs).
      For example, you have created a file not_found.aspx and saved it in the my_errors directory located in the httpdocs. To use this file as an error document, the following path should be entered in the Location field: /my_errors/not_found.aspx
  4. Click OK after making your changes and your changes should take effect within a minute.
Remember

You can use both FTP and File Manager to upload your custom error document to the server. By default, all error documents are stored in the /error_docs/ directory.