If a particular page on a site does not load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which could make the visitor leave the website. A possible solution in this case is a function made available from some hosting service providers - the option to set up your own custom error pages which shall have identical design as your site and that can contain any images or text you want dependent upon the specific error. There are 4 common errors which may occur and they involve the following so-called HTTP status codes - 400, when your Internet 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 page, but you have not done this yet; 403, if you do not have an authorization to view a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In all of these situations, visitors shall be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Hosting

The custom error pages function is provided with each hosting package deal we offer and you shall be able to swap all of the generic pages with your own with no more than several mouse clicks in your Hepsia website hosting CP. You will have to develop the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia CP. You can do this for every web site hosted inside the account individually, so that each set of customized pages will have the same design and style as the site it's part of. If required, you could always return back to a default page from our system or to the default Apache server page. An alternate way to set customized error pages is to create an .htaccess file inside 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 program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated plans support tailor-made error pages, thus you'll be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the given domain/subdomain and then to enter the link to the custom-made file. You are able to do this separately for every error type. You shall be able to switch back to a default error page anytime if needed and the change will take effect immediately. A different way to get the very same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you'd like to edit and to input a few lines of program 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, hence you will not need any computer programming skills or prior experience.