How to create custom error pages in Plesk

This article describes how to create custom error pages in Plesk for your web sites. For example, if users enter an incorrect URL or are not authorized to access specific directories, they see an error page. Companies often customize error pages by branding them with a corporate image and a link to their home page, or with other custom content.

Custom error pages are optional. An error page is always displayed, whether a custom error page exists or not. If an error page has not been customized, the site displays a default error page.

Step 1: Create the custom error page

To create content for the custom error page, you can use the Plesk File Manager. In the File Manager, you can create a new file and edit it directly on the web server.

Alternatively, you can use the text editor of your choice to create the custom error page on your local computer, and then upload the file to your account.

Step 2: Enable the custom error page

To enable the custom error page, follow these steps:

  1. Log in to Plesk.
    If you do not know how to log in to your Plesk account, please see this article.
  2. In the left sidebar, click Websites & Domains:

    Plesk - Sidebar - Websites and Domains

  3. Locate the domain for which you want to create a custom error page, and then click Virtual Directories:

    Plesk - Virtual Directories icon

  4. Click the Error Documents tab.
  5. Locate the error condition that you want to modify, and then click it.
  6. On the Edit Error Document page, in the Type list box, select one of the following:

    • Default: For this option, the site uses the Windows IIS default error page.
    • File: For this option, the specified file must already exist in the error_docs directory.
    • URL: For this option, the error document must be in a directory other than error_docs.
  7. In the Location text box, type the filename or URL for the custom error page.
  8. Click OK.

More Information

For more information about Plesk, please visit

Get Windows Hosting

Article Details

  • Operating System: Windows Hosting
  • Product: Windows Reseller Hosting
  • Level: Intermediate

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.