If a certain page on an Internet site doesn't load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which could make the visitor leave the website. A likely solution in this case is a feature offered by some web hosting service providers - the option to set your own customized error pages which shall have the same style and design as your Internet site and which may contain any images or text you want dependent upon the specific error. There are four common errors which can occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some web page, but you have not done so 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 all of these cases, visitors shall be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

The custom error pages feature is available with each and every 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 mouse clicks in your Hepsia hosting CP. You will have to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You may do this for every Internet site hosted inside the account independently, so that every set of custom made pages will have the same layout as the site it's part of. If required, you can always return back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you can simply copy the needed program code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

All of our Linux semi-dedicated servers support tailor-made error pages, so you'll be able to employ this function for each domain or subdomain hosted inside your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and then to type in the link to the custom file. You could do this independently for each error type. You shall be able to switch back to a standard error page whenever you want if required and the change will take effect immediately. Another way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder of the site which you would like to modify and to enter a couple of lines of program code inside it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, which means that you shall not need any coding skills or prior experience.