When a page on your Internet site does not load, an error message will be shown to the visitor. Since there are different errors, there are different pages that will appear, but what is typical for all of them is that they are generic and almost certainly shall have nothing that resembles the design of your website, which can be frustrating for any site visitor. This is the main reason why website hosting providers have introduced a feature called Custom Error Pages. For a range of different errors, site visitors shall see your custom content, which can be informative or amusing, depending on your personal preference, and which will match the overall design and style of your site, so the pages won't seem like they are not part of your Internet site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Web Hosting
If you acquire a Linux cloud web hosting service from us, you shall be able to set custom made error pages for your sites fast and easy, as this feature is part of all of our plans. As soon as you've 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. In the pop-up that will show up, you will see drop-down options menus for all four types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. If you select the third option, you should simply enter the URL to the file that you've uploaded then save the change. Another way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. If you do not have preceding experience or if you are just not sure how to do this, you could just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
When you host your Internet sites in a semi-dedicated server account with us, you'll be able to set tailor-made error pages for any of them with ease using our custom Hepsia hosting Control Panel. With several clicks in the Hosted Domains section, you'll be able to edit the default setting from a system page to a personalized one for each of the four error types. All you should do is supply a link to every single file you have uploaded before that and then save the change. If necessary, you will be able to revert this change anytime and in exactly the same way. If you'd like, you can use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder belonging to the website whose error pages you would want to modify and the content for this kind of file can be found in our Help article about this matter.