If a page on your Internet site doesn't load, an error message will be shown to the website visitor. As there are different errors, there are different pages that'll show up, but what's typical for all of them is that they're generic and in all probability shall have nothing in common with the layout of your website, which can be frustrating for any website visitor. That is the primary reason why website hosting companies have introduced a function known as Custom Error Pages. For a range of different errors, site visitors will see your customized content, which could be informative or humorous, depending on your preference, and that will match the overall layout of your website, so the pages shall not appear as if they aren't part of your website at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Hosting

When you buy a cloud hosting from our company, you will be able to set customized error pages for your Internet sites easily and quickly, since this function is part of all of our solutions. As soon as you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up which will show up, you'll see drop-down menus for all 4 types of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should simply type the URL to the file that you've uploaded and save the change. One other way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you don't have previous experience or if you are just uncertain how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

If you host your websites in a semi-dedicated server account with us, you can set custom made error pages for any of them with ease through our in-house created Hepsia hosting Control Panel. With several mouse clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a tailor-made one for any of the 4 error types. All you need to do is supply a link to each file that you've uploaded before that and then save the change. If required, you shall be able to revert this modification whenever you want and in exactly the same way. If you want, you can use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder associated with the website whose error pages you would like to change and the content for this kind of file can be found in our Help article about this matter.