If a specific page on an Internet site doesn't load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave your site. A potential solution in such a case is a feature offered by some hosting providers - the ability to set up your own customized error pages that shall have identical design as your Internet site and which may contain any images or text that you'd like dependent upon the specific error. There are 4 well-known errors that can occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some page, but you have not done this yet; 403, if you do not have an authorization to see a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In all of these situations, visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up customized error pages for any of your Internet sites with ease if you use any of our Linux shared website hosting. This can easily be done from the Hosted Domains section of the Hepsia CP, which comes with all accounts as soon as you go there, you could set your personalized pages independently for any domain or subdomain. You have to upload the files to your account before you start and input the links to them during the process. This function could be de-activated at any time and the options you will be able to select from are a generic page from our system or a default Apache web server page. Customized error pages can be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you're not tech-savvy, you could copy the whole content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
If you host your websites in a semi-dedicated server account from us, you may set custom error pages for any of them effortlessly via our in-house created Hepsia hosting Control Panel. With only a few mouse clicks in the Hosted Domains section, you could change the default setting from a system page to a tailor-made one for each of the four error types. All you have to do is supply a link to every file that you've uploaded before that and then save the change. If needed, you will be able to revert this modification whenever you want and in exactly the same way. If you would like, you may use an .htaccess file too. It must be created/uploaded in the domain or subdomain folder related to the website whose error pages you would want to alter and the content for this sort of file can be found in our Help article on this matter.