Plesk Custom Error Documents Not Working
Contents |
Guide cPanel WebHost Manager (WHM) Plesk SSL Certificates Specialized Help Offers & Bonuses Website Design Affiliates Helpful Resources Account Addons Billing System HostGator Blog HostGator Forums Video Tutorials Contact Us Interact and Engage Put two or more words plesk 12 custom error documents in quotes to search for a phrase: "name servers" Prepend a plus sign
Custom Error Documents Plesk
to a word or phrase to require its presence in an article: +cpanel Prepend a minus sign to a word or phrase to require its absence in an article: -windows Words of less than three characters are ignored. All searches are case-insensitive. Search [?] Support Portal Home » Plesk » Plesk 10 » Plesk 10 Client Side » Setting Up Custom Error Documents With Plesk on Windows Setting Up Custom Error Documents With Plesk on Windows Overview cPanel Plesk on Windows Plesk 10 VPS In order to setup custom error pages in Plesk on a Windows server, please do the following: Turning on Custom Error Pages Before you can use custom error pages, you must first turn them on: Login to Plesk Click on the Websites & Domains tab. Click on Hosting Settings next to the domain you are configuring. Check the box for Custom 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 three options for setting them up: edit the existing error documents, or create new ones. Option 1: Editing an Existing Custom Error Page The 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. Within the Root directory, click 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. No additional steps necessary. Option 2: Setting up Custom Error Pages Instead of editing the existing error pages, you can create your own with different filenames, o
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 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 http://support.hostgator.com/articles/setting-up-custom-error-documents-with-plesk-on-windows 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 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 http://download1.parallels.com/Plesk/Plesk8.6/Doc/en-US/plesk-8.6-win-administrators-guide/24891.htm 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 relative to the virtual host root (that is,
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 https://support.managed.com/kb/a185/how-to-create-custom-error-documents-and-custom-404-errors.aspx handle ASP.NET errors and are managed separately from IIS error pages. If you http://serverfault.com/questions/131015/how-to-configure-custom-error-page-in-plesk-9-3-for-non-existing-folder 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 custom error 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 theShow Morelink Click onVirtual Directories. Select theError Documentstab. Click on custom error documents 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 which the CustomErrors section is specified. Update your CustomErrors node to be similar to the following: Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to configure custom error page in Plesk 9.3 for non existing folder? [closed] up vote 2 down vote favorite I'm trying to configure Plesk in order to show website visitors a custom error html. The current hosted site is an ASP.NET site. This site shows its custom errors on error403.aspx and error404.aspx files. Now to comply with plesk, I've created error_docs with required files like forbidden.html, etc... When user try to navigate http://mysite.com/a_missing_page.aspx, the visitor is redirected to error404.aspx correctly. But when user try to navigate to a non existent directory http://mysite.com/a_missing_folder/ the site takes me to IIS 404 regular page. Plesk has Custom error documents activated on Web hosting settings. ASP.NET Error pages defined in web.config are showing fine. But it seems plesk wont show its custom html error documents. The bottom line here is about setting up a custom error page to a directory. Is it possible to do this using Plesk or do I have to change it manually on IIS? http-status-code-404 directory custom-errors share|improve this question asked Apr 9 '10 at 16:30 Junior M 15119 closed as off-topic by HopelessN00b Jan 14 '15 at 5:00 This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.If this question can be reworded to fit the rules in the help center, please edit the question. I can't see this option in Plesk. I noticed here it can be