If a page on your site doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages which will display, but what's standard for all of them is that they're generic and most likely shall have absolutely nothing that is similar to the layout of your site, which may be annoying for any site visitor. This is the reason why website hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, site visitors shall see your custom made content, which could be informative or witty, based on your choice, and which shall match the design of your website, so the pages will not look like they aren't part of your site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
If you obtain a shared web hosting service from us, you shall be able to set personalized error pages for your Internet sites quickly and easily, since this function is part of all of our packages. Once you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will appear, you shall see drop-down options menus for all 4 kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should only type the URL to the file that you've uploaded then save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have prior experience or if you are simply uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
Adding your pages for any of the 4 error types to any website hosted inside a semi-dedicated server account with us shall be very simple and shall not take more than a couple of clicks. Once you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You could choose what page should display for every single error type. Your options are a standard Apache web server page or a page from our system, and personalized pages. If you select the last option, you must input the link to every single page inside your account, then save the change. The link or the type of page which will be displayed when a user encounters an error can be changed at any time. If you're more experienced, you can use an .htaccess file to be able to set in-house made error pages too, instead of using our integrated generator instrument, and should you select this option, the file should be located in the root directory of a given domain or subdomain.