When a page on your site doesn't load, an error message shall be displayed to the visitor. As there are different errors, there are different pages which will appear, but what's typical for all of them is that they're generic and in all probability shall have nothing that resembles the layout of your Internet site, which may be aggravating for any visitor. This is the reason why website hosting companies have introduced a function named Custom Error Pages. For a number of different errors, visitors shall see your custom made content, which can be informative or humorous, based on your choice, and which will match the overall layout of your Internet site, so the pages shall not seem like they're not part of your Internet site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

When you get a Linux shared hosting from our company, you shall be able to set custom error pages for your sites quickly and easily, because this function is part of all our plans. After you've created the files and uploaded them to your 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 be displayed, you'll see drop-down options menus for all four kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a customized page. If you pick the third option, you should only input the URL to the file that you've uploaded then save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you do not have prior experience or if you are simply uncertain how to do that, you can simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated hosting that we supply support tailor-made error pages and it will not take more than a couple of mouse clicks inside your Hepsia web hosting Control Panel to use this function. The option is included in the Hosted Domains section of your Control Panel where you will have to type in the links to the custom-made files using basic drop-down menus and a user-friendly interface. Keep in mind, you should upload them to your account before that. If you do not need to use this function at some point, you can easily disable it just as easily and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you prefer, you could also use an .htaccess file to activate the personalized error pages. The file should contain a specific line of code as well as a link for each error type and you can discover an example of the entire content for all four error types in our Help section.