Cloud Service >> Knowledgebase >> Plesk >> How To Create Custom Error Pages In Plesk?
submit query

Cut Hosting Costs! Submit Query Today!

How To Create Custom Error Pages In Plesk?

Everyone can sometimes type the wrong address or attempt to access a forbidden area of the website, for this, custom error pages make the website look more professional if such problems occur. This might also be links and your logo if you desire to make it easy for a single person to type to get to your web site.

Here are detailed instructions on how to generate Custom Error Pages, enable them, and Edit them in Plesk.

Step 1: Create the Custom Error Page

You have two options to create your custom error page:

1. Using Plesk File Manager:

- Open Plesk and go to the File Manager.

- Create a new file for your error page and edit it directly on the server.

2. Using a Text Editor on Your Computer:

- Create the error page using a text editor on your computer (like Notepad or any HTML editor).

- Upload the file to your Plesk account once it's ready.

Step 2: Enable the Custom Error Page

Follow these steps to enable your custom error page in Plesk:

1. Log in to Plesk
2. Go to Websites & Domains: On the left sidebar, click on "Websites & Domains".
3. Select the Domain: Find the domain where you want to set the custom error page.
4. Open Error Documents: Click on the "Error Documents" tab.
5. Choose the Error Condition: Find the specific error you want to customize (like 404 for "Page Not Found") and click on it.
6. Edit Error Document:

- In the "Edit Error Document" page, you’ll see a drop-down menu labeled "Type". Choose one of these options:

- Default: Uses the standard error page provided by Windows IIS.

- File: Uses a file you’ve already placed in the error-doc directory.

- URL: Links to an error document located outside the error_docs directory.

7. Set the Location:

- In the "Location" text box, enter the filename or URL of your custom error page.
8. Save Changes: Click "OK" to save your settings.

Summary

One easy method to enhance the user experience on your website is to create personalized error pages using Plesk. By following these instructions, you can provide visitors with useful branded error messages rather than generic ones. When things go wrong, one little tweak may make your website easier to use and more entertaining.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!