If a particular page on a site does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave the website. A solution in cases like this is a function made available from some website hosting service providers - the ability to set up your own custom error pages which shall have identical design and style as your website and which may contain any text or images you want based on the specific error. There are 4 well-known errors that may take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have a permission to see a particular page; and 404, if a link that you have clicked leads to a file that does not exist. In each of these scenarios, website visitors shall be able to see your personalized content instead of a generic error page.

Custom Error Pages in Shared Hosting

The custom error pages feature is provided with each shared hosting package deal that we offer and you shall be able to swap all the generic pages with your own with no more than a few mouse clicks in your Hepsia website hosting Control Panel. You'll have to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You may do this for each website hosted inside the account independently, so that each set of custom pages shall have the very same layout as the Internet site it is part of. If required, you may 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 include a few lines in it. If you have never done this before, you may simply copy the necessary code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated services which we offer support custom error pages and it will not take more than several mouse clicks inside your Hepsia web hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your CP in which you will need to input the links to the custom-made files using basic drop-down menus and an easy to work with interface. Needless to say, you need to upload them to your account before that. If you don't need to use this function at some point, you will be able to deactivate it just as easily and select an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you'd like to, you could also use an .htaccess file to enable the custom error pages. The file needs to include a particular line of code plus a link for each error type and you may find an example of the whole content for all four error types in our Help section.