When 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'll appear, but what is typical for all of them is that they're generic and most likely shall have practically nothing that resembles the design of your Internet site, which could be annoying for any site visitor. That is the main reason why website hosting providers have introduced a function called Custom Error Pages. For a wide variety of different errors, visitors shall see your customized content, which could be informative or amusing, based on your preference, and which shall match the overall design and style of your site, so the pages won't seem like they aren't part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Hosting
If you acquire a cloud hosting plan from us, you'll be able to set personalized error pages for your websites fast and easy, because this feature is a part of all of our packages. After you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will be displayed, you'll see drop-down options menus for all 4 types of errors and for each of them you may select an Apache default page, a generic page from our system or a customized page. Should you pick 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 personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have preceding experience or if you are just not sure how to do this, you can simply copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
If you host your sites in a semi-dedicated server account from us, you can set custom made error pages for any of them effortlessly via our in-house made Hepsia hosting CP. With only several clicks in the Hosted Domains section, you'll be able to modify the default setting from a system page to a personalized one for any of the 4 error types. All you should do is provide a link to every single file that you have uploaded before that and then save the change. If needed, you shall be able to revert this customization at any time and in exactly the same way. If you would like, you can use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder linked to the internet site whose error pages you would want to alter and the content for this sort of file can be found in our Help article for this matter.