If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave the website. A possible solution in such a case is a feature made available from some website hosting companies - the option to set up your own custom-made error pages which shall have the exact same design as your website and which can contain any images or text that you would like depending on the particular error. There are four popular errors which could occur and they involve these 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, in case you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you don't have a permission to see a certain page; and 404, in case a link that you have clicked leads to a file which does not exist. In each of these scenarios, site visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Shared Hosting
The custom error pages function is available with each and every shared hosting package which we offer and you will be able to replace the generic pages with your own with no more than a couple of mouse clicks inside your Hepsia hosting CP. You shall have to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can do this for each site hosted inside the account individually, so that every set of custom pages shall have the exact same style and design as the website it is part of. When necessary, you can always return back to a default page from our system or to the default Apache server page. One other way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you could simply copy the required program code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers which we offer support personalized error pages and it will not take more than a few mouse clicks in your Hepsia website hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP where you will have to input the links to the custom-made files through simple drop-down menus and an easy to work with interface. Needless to say, you should upload them inside your account before that. If you don't need to use this feature at some point, you could disable it just as easily and select an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you prefer, you could also use an .htaccess file to allow the custom made error pages. The file needs to contain a specific line of code plus a link for every single error type and you can find an example of the whole content for all four error types in our Help section.