If a certain page on a site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave the website. A likely solution in such a case is a function made available from some hosting service providers - the ability to set up your own custom error pages which shall have the exact same design and style as your website and which could contain any text or images you want based on the particular error. There are four common errors that may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a page, but you haven't done this yet; 403, if you don't have a permission to see a particular page; and 404, if a link which you've clicked leads to a file that doesn't exist. In each of these cases, site visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Cloud Web Hosting
You will be able to set up personalized error pages for each of your Internet sites without difficulty when you use any of our Linux cloud web hosting services
. This could be done using the Hosted Domains section of the Hepsia Control Panel, offered with all accounts and once you go there, you can set your custom pages independently for any domain or subdomain. You have to upload the files to your account in advance and enter the links to them through the process. This feature could be de-activated whenever you want and the options you shall be able to to pick from are a conventional page from our system or a default Apache server page. Customized error pages could be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you are not tech-savvy, you could copy the whole content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
When you host your websites in a semi-dedicated server
account with us, you can set tailor-made error pages for any of them easily through our in-house developed Hepsia hosting Control Panel. With just a couple of mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a custom one for each of the 4 error types. All you should do is supply a link to each file which you have uploaded before that and then save the change. If required, you'll be able to revert this change at any time and in exactly the same way. If you would like, you can use an .htaccess file too. It must be created/uploaded within the domain or subdomain folder associated with 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 about this matter.