If a page on your Internet site does not load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages that'll show up, but what's common for all of them is that they're generic and in all probability will have absolutely nothing that is similar to the design of your Internet site, which can be annoying for any visitor. That is the main reason why hosting providers have introduced a function referred to as Custom Error Pages. For a range of different errors, website visitors will see your custom made content, which can be informative or witty, in accordance with your taste, and which will match the overall design of your website, so the pages won't appear as if they are 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 Cloud Hosting
When you purchase a Linux cloud plan from our company, you'll be able to set personalized error pages for your sites quickly and easily, because this feature is part of all of our solutions. Once you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will be displayed, you shall see drop-down menus for all four types of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. In case you pick the 3rd option, you should simply type the URL to the file that you've uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you do not have prior experience or if you're simply not sure how to do that, you may simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
If you host your Internet sites in a semi-dedicated server account with our company, you can set personalized error pages for any of them easily using our in-house built Hepsia hosting Control Panel. With just a couple of clicks in the Hosted Domains section, you can modify the default setting from a system page to a customized one for any of the 4 error types. All you should do is supply a link to every file you have uploaded before that and then save the change. If necessary, you will be able to revert this modification anytime and in exactly the same way. If you prefer, you can use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder related to the website whose error pages you would like to change and the content for this sort of file can be found in our Help article for this matter.