If a page on your Internet site doesn't load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will display, but what is common for all of them is that they are generic and in all probability will have absolutely nothing that resembles the layout of your site, which could be frustrating for any site visitor. This is the reason why web hosting companies have introduced a function named Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which can be informative or humorous, based on your preference, and that will match the overall style and design of your website, so the pages will 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 Hosting
When you acquire a Linux hosting package from our company, you will be able to set custom made error pages for your websites easily, since this feature is part of all of our solutions. As soon as you've 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 selected domain or subdomain. Inside the pop-up which will be displayed, you shall see drop-down options menus for all four sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a customized page. If you select the third option, you should only enter the URL to the file which you have uploaded then save the change. A different way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you do not have previous experience or if you are just unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
When you host your web sites in a semi-dedicated server account with us, you can set custom made error pages for any of them easily through our in-house created Hepsia hosting Control Panel. With just a few mouse clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom one for each of the four error types. All you must do is provide a link to each file that you have uploaded before that and then save the change. If necessary, you shall be able to revert this change anytime and in exactly the same way. If you want, you could use an .htaccess file as well. It should be created/uploaded inside the domain or subdomain folder belonging to the website whose error pages you intend to alter and the content for this kind of file can be found in our Help article about this matter.