If a specific page on a website doesn't load for some reason or in case a link is not working, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave the website. A possible solution in cases like this is a function offered by some hosting companies - the ability to set your own personalized error pages that shall have exactly the same design and style as your Internet site and which can contain any images or text you want depending on the particular error. There are four well-known errors which could take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have an authorization to see a specific page; and 404, when a link which you've clicked leads to a file which does not exist. In all of these cases, website visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

The customized error pages function is available with every single cloud hosting package which we offer and you will be able to substitute all the generic pages with your own with no more than a few clicks in your Hepsia hosting CP. You will need to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You could do this for every single site hosted in the account independently, so that every set of customized pages will have the exact same layout as the site it is part of. When necessary, you could always return back to a default page from our system or to a default Apache server page. An alternate way to set custom 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 not done this before, you may simply copy the necessary program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support customized error pages, so you shall be able to employ this feature for any domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the particular domain/subdomain and to enter the link to the custom-made file. You'll be able to do this individually for each and every error type. You shall be able to switch back to a generic error page whenever you want if needed and the change will take effect right away. An alternative way to achieve the same result is to set an .htaccess file in the domain or subdomain folder associated with the website that you want to change and to input a couple of lines of code in it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, thus you'll not need any programming skills or prior experience.