When a page on your Internet site does not load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that'll show up, but what's typical for all of them is that they are generic and in all probability shall have nothing in common with the layout of your website, which can be irritating for any site visitor. That is the main reason why website hosting companies have introduced a function called Custom Error Pages. For a number of different errors, website visitors shall see your custom made content, which could be informative or funny, in accordance with your personal preference, and which shall match the overall layout of your Internet site, so the pages will not seem like they aren't part of your website at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

When you buy a Linux website hosting plan from us, you will be able to set custom made error pages for your websites easily and quickly, as this function is a part of all our packages. The moment you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you shall see drop-down menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a customized page. If you select the third option, you should just type the URL to the file that you have uploaded and save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you do not have preceding experience or if you are just uncertain how to do this, you could simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

When you host your websites in a semi-dedicated server account with us, you can set customized error pages for each of them with ease via our in-house built Hepsia hosting Control Panel. With several mouse clicks in the Hosted Domains section, you can edit the default setting from a system page to a custom one for any of the four error types. All you must do is provide a link to every file that you've uploaded before that and then save the change. If necessary, you'll be able to revert this change anytime and in exactly the same way. If you prefer, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder belonging to the site whose error pages you want to alter and the content for this sort of file can be found in our Help article for this matter.