If a particular page on an Internet site does not load for some reason or if a link is not working, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave the website. A solution in such a case is a function offered by some website hosting providers - the ability to set your own custom error pages that will have the same design as your website and which can contain any text or images that you'd like based on the specific error. There are four well-known errors that can take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In all of these scenarios, website visitors shall be able to see your customized content instead of a generic error page.
Custom Error Pages in Hosting
The personalized error pages function is available with every hosting package deal that we offer and you shall be able to substitute all the generic pages with your own with no more than just a few clicks inside your Hepsia website hosting Control Panel. You shall need to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for each site hosted in the account independently, so that each group of custom made pages shall have the exact same design as the website it is part of. When necessary, you can always revert back to a default page from our system or to the default Apache server page. An alternate way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you could simply copy the necessary program code from our Help article on this subject.