If a certain page on a website does not load for some reason or in case 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 can make the visitor leave your site. A potential solution in cases like this is a feature offered by some web hosting service providers - the option to set up your own custom error pages that will have exactly the same style and design as your Internet site and that may contain any text or images that you would like based on the particular error. There are 4 well-known errors which may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a page, but you haven't done this yet; 403, if you don't have a permission to view a specific page; and 404, in case a link that you've clicked leads to a file that does not exist. In all of these scenarios, site visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Website Hosting

The custom error pages function is offered with each and every shared website hosting package we offer and you shall be able to swap all the generic pages with your own with no more than a couple of mouse clicks inside your Hepsia hosting Control Panel. You'll need to create the actual files and to upload them to your account, then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You may do this for every single site hosted in the account separately, so that every set of customized pages shall have the very same layout as the Internet site it is part of. If necessary, you could always return back to a default page from our system or to a default Apache server page. One other 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 can simply copy the needed code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom made error pages, so you shall be able to use this feature for each domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and then to enter the link to the custom file. You could do this individually for every error type. You will be able to switch back to a default error page anytime if required and the change shall take effect immediately. A different way to achieve the same result is to place an .htaccess file in the domain or subdomain folder related to the site that you would like to modify and to type in a couple of lines of code in it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you'll not need any computer programming skills or prior experience.