Using Custom Error Pages

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

  1. Click on the Website & Domains tab (if not already on that page).
  2. Click on the Arrow beneath you your domain to show the advanced operations;
  3. Click on Virtual Directories.
  4. Click on the Error Documents tab.
  5. Click on the Error Document you wish to change.
  6. 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.
  • 105 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How do I migrate my wordpress website to Inet7?

Migrating a Wordpress Website from one server to another is easy, but requires some careful...

How do I create an e-mail auto-reply or out of office message?

Each Website and E-mail hosting package offered by Inet7 includes a control panel.  From this...

How do I log into the Management Portal?

All services with Inet7 can be controlled through a single interface known as our Customer...

How do I create an E-mail Address?

Each Website and E-mail hosting package offered by Inet7 includes a control panel.  From this...

How do I access PhpMyAdmin to manage my database?

Each Website and E-mail hosting package offered by Inet7 includes a control panel.  From this...