If a page on your site doesn't load, an error message shall be shown to the visitor. Since there are different errors, there are different pages which will display, but what is common for all of them is that they're generic and in all probability shall have practically nothing in common with the layout of your Internet site, which may be frustrating for any site visitor. This is the main reason why hosting companies have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, site visitors shall see your customized content, which may be informative or amusing, in accordance with your taste, and that will match the style and design of your site, so the pages shall not look like they aren't part of your Internet site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you buy a Linux shared hosting from our company, you shall be able to set customized error pages for your sites quickly and easily, since this feature is a part of all our plans. Once you have created the files and uploaded them to your website 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. In the pop-up which will show up, you'll see drop-down options menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a custom page. If you select the third option, you should simply type the URL to the file that you've uploaded then save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. In case you don't have preceding experience or if you're simply not sure how to do this, you can simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Incorporating your pages for each of the four error types to any website hosted inside a semi-dedicated server account with us shall be very uncomplicated and will not take more than several clicks. As soon as you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can select what page should display for each and every error type. The choices are a default Apache server page or a page from our system, and tailor-made pages. If you pick the aforementioned option, you need to type in the link to every page inside your account, then save the change. The link or the type of page that will be displayed in case a user encounters an error can be modified anytime. If you're more experienced, you can use an .htaccess file to set personalized error pages as well, as opposed to using our integrated generator software instrument, and if you choose this option, the file must be placed inside the root directory of a particular domain or subdomain.