If a page on your website doesn't load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that'll appear, but what is common for all of them is that they're generic and probably shall have nothing that is similar to the layout of your Internet site, which may be irritating for any website visitor. This is the reason why web hosting companies have introduced a feature called Custom Error Pages. For a number of different errors, visitors shall see your unique content, which can be informative or funny, based on your choice, and that will match the design and style of your Internet site, so the pages won't seem like they are not part of your Internet site at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
The personalized error pages feature is offered with every single website hosting package which we offer and you'll be able to replace the generic pages with your own with no more than a few clicks inside your Hepsia hosting CP. You will have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every Internet site hosted inside the account separately, so that each group of customized pages will have identical layout as the site it is part of. If needed, you may always return back to a default page from our system or to the default Apache server page. One other way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you never done this before, you may simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
If you host your web sites in a semi-dedicated server account from us, you may set personalized error pages for each of them easily through our custom Hepsia hosting CP. With just several clicks in the Hosted Domains section, you could modify the default setting from a system page to a custom one for any of the 4 error types. All you need to do is provide a link to every single file that you've uploaded before that and then save the change. If required, you shall be able to revert this change anytime and in exactly the same way. If you would like, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder belonging to the internet 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.