Plesk 9 Custom Error Pages
Contents |
& 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 plesk 12 custom error documents a Partner Russian German French Spanish Chinese Japanese Italian Language English Russian
Custom Error Documents Plesk
German French Spanish Chinese Japanese Italian any Search How 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. C
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 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 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 must first create and upload your error pages to the httpdocs folder of your domain via FTP. If you are unsure how to do https://kb.plesk.com/en/5279 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 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 https://support.managed.com/kb/a185/how-to-create-custom-error-documents-and-custom-404-errors.aspx 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 which the CustomErrors section is specified. Update your CustomErrors node to be similar to the following:
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 https://my.hostmantis.com/knowledgebase/147/Custom-error-pages-or-404s-in-Plesk.html 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 custom error 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 custom error documents (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