Each time a page on your Internet site doesn't load, an error message will be displayed to the website visitor. As there are different errors, there are different pages that'll display, but what's common for all of them is that they are generic and probably will have practically nothing that resembles the design of your website, which could be irritating for any visitor. That is the primary reason why web hosting service providers have introduced a function known as Custom Error Pages. For a number of different errors, visitors shall see your custom content, which could be informative or funny, based on your personal preference, and which shall match the layout of your website, so the pages shall not seem like they're not part of your Internet site at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
When you order a Linux website hosting service from our company, you shall be able to set custom made error pages for your websites easily, because this feature is a part of all our plans. After you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you shall see drop-down menus for all 4 types of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. Should you pick the third option, you should just type the URL to the file which 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 a few lines of code in it. In case you don't have prior experience or if you're just unsure how to do that, you could simply copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
If you host your Internet sites in a semi-dedicated server account with our company, you can set custom error pages for any of them with ease through our in-house built Hepsia hosting Control Panel. With just a few clicks inside the Hosted Domains section, you'll be able to change the default setting from a system page to a customized one for any of the four error types. All you must do is provide a link to each file you have uploaded before that and then save the change. If needed, you shall be able to revert this customization whenever you want and in exactly the same way. If you wish, you could use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder linked to the internet site whose error pages you intend to alter and the content for this sort of file can be found in our Help article for this matter.