Custom Error Pages
Learn what a Custom Error Page is, what role does it have and how to set up one.
If a page on your Internet site does not load, an error message will be displayed to the visitor. Because there are different errors, there are different pages which will display, but what is typical for all of them is that they're generic and in all probability shall have nothing that resembles the design of your Internet site, which can be irritating for any site visitor. That is the main reason why hosting service providers have introduced a function named Custom Error Pages. For a variety of different errors, visitors will see your unique content, which could be informative or funny, in accordance with your choice, and that will match the overall style and design of your Internet site, so the pages shall not appear as if they aren't part of your website at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Cloud Hosting
When you obtain a
Linux cloud hosting package from us, you shall be able to set custom error pages for your sites fast and easy, as this feature is part of all of our packages. The moment you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you shall see drop-down menus for all 4 types of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. Should you select the third option, you should only type the URL to the file you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. If you don't have prior experience or if you are just unsure how to do this, you could just copy and paste the code from our Knowledge Base article on that matter.
-
Custom Error Pages in Semi-dedicated Hosting
Including your own pages for any of the four error types to any web site hosted inside a
semi-dedicated server account with us shall be very simple and shall not take more than several clicks. When you upload the files to your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You may select what page should display for every error type. The alternatives are a default Apache server page or a page from our system, and customized pages. Should you pick the abovementioned option, you need to type in the link to each page in your account, then save the change. The link or the type of page that appears if a user encounters an error can be changed at any time. If you're more experienced, you could use an .htaccess file to set tailor-made error pages as well, rather than using our integrated generator instrument, and in case you select this option, the file must be placed inside the root directory of a particular domain or subdomain.