If a certain page on a website doesn't load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave your Internet site. A possible solution in such a case is a feature made available from some web hosting service providers - the ability to set your own custom-made error pages that shall have identical design as your Internet site and which may contain any text or images which you want depending on the particular error. There are four common 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 hosting server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, when a link that you have clicked leads to a file which does not exist. In any of these cases, site visitors will be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
The custom error pages feature is offered with each shared hosting plan which we offer and you shall be able to substitute all generic pages with your own with no more than a few clicks from your Hepsia website hosting CP. You'll have to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can do this for every website hosted in the account individually, so that each group of custom made pages shall have identical design as the website it's part of. If necessary, you could always revert back to a default page from our system or to a default Apache server page. A different way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the needed code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting that we offer support custom made error pages and it will not take more than several mouse clicks in your Hepsia web hosting Control Panel to use this function. The option is included in the Hosted Domains section of your CP in which you will need to enter the links to the custom-made files via simple drop-down menus and an easy to use interface. Keep in mind, you must upload them in your account before that. In case you don't want to employ this function at some point, you can disable it just as fast and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to permit the customized error pages. The file has to have a specific line of code as well as a link for each error type and you can discover an example of the entire content for all four error types in our Help section.