Plesk 11 Custom Error Pages
& Site Management Integration Options Developers eMail Components CloudLinux Extensions Extension Catalog Submit your Extension Plans & Pricing Support Resources FAQs Forums Knowledge Base Documentation Downloads Plesk University Release notes Blog Become a Partner Russian German French Spanish Chinese plesk 12 custom error documents Japanese Italian Language English Russian German French Spanish Chinese Japanese Italian any Search How custom error documents plesk to create custom error pages? Article ID: 5279, created on May 26, 2008, last review on Aug 24, 2016 Applies to: Plesk for Linux/Unix Plesk 12.5 for Windows Plesk 11.5 for Windows Question How to create custom error pages? Resolution On Linux Select the required subscription in the Subscription box at the top of the screen. Or, to view sites of all subscriptions, select All subscriptions. Switch on custom error documents support: Go to the Websites & Domains tab and click Hosting Settings in a website settings pane. Select the Custom error documents checkbox. Click OK. Connect to the server via FTP, and go to the error_docs directory. Edit or replace the respective files. Be sure to preserve the correct file names: 400 Bad File Request - bad_request.html 401 Unauthorized - unauthorized.html 403 Forbidden/Access denied - forbidden.html 404 Not Found - not_found.html 405 Method Not Allowed - method_not_allowed.html 406 Not Acceptable - not_acceptable.html 407 Proxy Authentication Required - proxy_authentication_required.html 412 Precondition Failed - precondition_failed.html 414 Request-URI Too Long - request-uri_too_long.html 415 Unsupported Media Type - unsupported_media_type.html 500 Internal Server Error - internal_server_error.html 501 Not Implemented - not_implemented.html 502 Bad Gateway - bad_gateway.html 503 Service Temporarily Unavailable - maintenance.html The web server will start using your error documents in a few hours, after it is restarted. On Windows If you have access to several subscriptions, select the required subscription in the Subscription box at the top of the screen. Or, to view sites of all your subscriptions, select All subscriptions. Switch on support for custom error documents. Go to the Websites & Domains tab and click the Hosting Settings button. Select the Custom error documents checkbox. Click OK. Go to the Websites & Domains tab. Click the required domain name. Click Virtual Directories to see the list of error documents for the root web directory. Error documents located here are used for all web pages of the selected site. If it i
standard error messages may inform of problems, but they do not usually say how to resolve them or how to get the lost visitor on his way, and they also look dull. You may want to create your own error pages and use them on your web server. The following error messages are the ones customized most often: 400 Bad File Request. Usually means the syntax used in the URL is incorrect (e.g., uppercase letter should be lowercase letter; wrong punctuation marks).401 Unauthorized. Server is looking for some encryption key from the https://kb.plesk.com/en/5279 client and is not getting it. Also, wrong password may have been entered.403 Forbidden/Access denied. Similar to 401; a special permission is needed to access the site – a password and/or username if it is a registration issue.404 Not Found. Server cannot find the requested file. File has either been moved or deleted, or the wrong URL or document name was entered. This is the most http://download1.parallels.com/Plesk/Plesk8.6/Doc/en-US/plesk-8.6-win-administrators-guide/24891.htm common error.500 Internal Server Error. Could not retrieve the HTML document because of server-configuration problems.To configure Plesk's web server to show custom error pages for a domain:/ Switch on support for custom error documents through Plesk. Go to Domains > domain name > Setup. Select the Custom Error Documents check box. Click OK.Go to Domains > domain name > Web Directories to see the list of error documents for the root web directory (error documents located here are used for all domain web pages). If you want to customize error pages for a certain web directory, go to that directory.Click Error Documents tab and click the required error document in the list.To use the default document provided by IIS for this error page, select Default in the Type menu.To use a custom HTML 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 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 re
which are error pages that handle IIS-level errors such as when it attempts to load an HTML file that does not exist. ASP.NET https://support.managed.com/kb/a185/how-to-create-custom-error-documents-and-custom-404-errors.aspx Error Pages which handle ASP.NET errors and are managed separately from IIS error pages. If you need to create custom error pages, or more commonly, custom 404 error pages, follow the instructions https://my.hostmantis.com/knowledgebase/147/Custom-error-pages-or-404s-in-Plesk.html below. Notes: Error documents can only be configured on a per-DNN installation basis and can not be configured on a per-portal basis. Method One: Configuring IIS Error Pages. You custom error must first create and upload your error pages to the httpdocs folder of your domain via FTP. If you are unsure how to do this please refer toHow to Use FTP to Upload, Download and Modify Files. Plesk 12.x Log in to yourControl Panel. In the Home tab, underMy Subscriptionsselect the domain you wish to manage. Click on theWebsites & Domainstab. Click custom error documents theShow Morelink Click onVirtual Directories. Select theError Documentstab. Click on the error code you want to configure. SelectURL. Provide a physical URL to the error page (for example /404.aspx). ClickOK. Plesk 11.x Log in to your Control Panel. In the Home tab, under My Subscriptions select the domain you wish to manage. Click on the Websites & Domains tab. Click the Show Advanced Operations link Click on Virtual Directories. Select the Error Documents tab. Click on the error code you want to configure. Select URL. Provide a physical URL to the error page (for example /404.aspx). Click OK. Plesk 9.x Log in to your Control Panel. Click Domains and select the domain you wish to manage. Under Files select Virtual Directories. Click the Error Documents tab. Click on the error code you want to configure. Select URL. Provide a physical URL to the error page (for example /404.aspx). Click OK. Method Two: Configuring ASP.NET Error Pages This option requires you to edit your web.config file.SeeHow to Access Your Web.Config. Technical assistance for this method is not provided. Open up your web.config file. Scroll to the area in w
order services Toggle navigation Home Announcements Knowledgebase Server Status Affiliates Contact Us Account Login Register ----- Forgot Password? Knowledgebase Support Home Knowledgebase Windows Hosting Custom error pages or 404's in Plesk Categories Abuse 1 Add-ons 1 Billing 11 CloudFlare 8 CloudLinux 3 Control Panel 9 Database 4 Dedicated Servers 13 Domains 18 Email 11 FTP 3 General 5 Getting Started 6 How do I? 21 Joomla 2 Magento 1 Paths 10 PHP 7 phpBB 2 Pre-Sales Questions 5 Resellers 17 Security 2 Shopping Carts 1 SSL Certificates 3 Status 1 System 5 Uptime 1 VPS 16 WHMCS 3 Windows Hosting 32 WordPress 17 Categories Abuse (1) Add-ons (1) Billing (11) CloudFlare (8) CloudLinux (3) Control Panel (9) Database (4) Dedicated Servers (13) Domains (18) Email (11) FTP (3) General (5) Getting Started (6) How do I? (21) Joomla (2) Magento (1) Paths (10) PHP (7) phpBB (2) Pre-Sales Questions (5) Resellers (17) Security (2) Shopping Carts (1) SSL Certificates (3) Status (1) System (5) Uptime (1) VPS (16) WHMCS (3) Windows Hosting (32) WordPress (17) Custom error pages or 404's in Plesk Setting Up Custom Error Documents on Plesk 11 WindowsIn order to setup custom error pages in Plesk on a Windows server, please do the following:Turning on Custom Error PagesBefore you can use custom error pages, you must first turn them on.Login to PleskClick on the Websites & Domains tab.On the list of domain name at the bottom, click on the domain name you are configuring.Check the box for Customer error documents.Click OK.You will be taken back to the Websites & Domains tab and it should say "Information: The settings were successfully updated" near the top of the page.Once you have Custom Error Pages turned on, you have two options for setting them up: edit the existing error documents, or create new ones.Option 1: Editing an Existing Custom Error PageThe easiest way to create your own error page is to edit the ones already there.Click on the Website & Domains tab (if not already on that page).Click on File Manager.Click on the error_docs folder (the text link or the folder in front of the link).Click on the error page you want to edit. For example, Not_Found.html.Use Plesk's built-in HTML editor to edit the error page.Click OK to save your changes.Once saved, your changes will take effect.