The control panel has it's own set of error documents. Error Documents are messages displayed to the visitor if your website encounters a problem. Although the generic/included error documents work, some website owners perfer to customize the message displayed to the visitor. In this case, you would create your own custom error documents and upload them to the server.
Step 1: Creating the New Error Page
Create a new page and upload it to your domain. It can be named anything, and can be in any supported language such as HTML, PHP, ASP and ASP.NET.
You can use the File Manager in Plesk to create a new file, and then edit it, or create it on your own computer and then FTP it to the server.
Step 2: Telling the Server to Use the New Error Page
- Click on the Website & Domains tab (if not already on that page).
- Click on the Arrow beneath you your domain to show the advanced operations;
- Click on Virtual Directories.
- Click on the Error Documents tab.
- Click on the Error Document you wish to change.
- Set the options for that error:
- Type:Location: Input the file name or URL, depending which type you selected. If the custom error document is located in a directory other than error_docs, the path should be relative to the virtual host root (i.e.
<vhosts>\<domain>\httpdocs).
- Default - Use the Windows IIS Default Error Page.
- File - Use a specific file. The file must be located in the error_docs directory.
- URL - Use a specific a custom error document located in a directory other than error_docs.
For example,/my_errors/forbidden_403_1.html
- Click OK.
- Type:Location: Input the file name or URL, depending which type you selected. If the custom error document is located in a directory other than error_docs, the path should be relative to the virtual host root (i.e.