If a certain page on a website does not load for some reason or if a link is broken, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, which may make the visitor leave your website. A solution in such a case is a feature offered by some web hosting companies - the ability to set up your own customized error pages that will have the same design and style as your website and that can contain any text or images you want based on the particular error. There are four common errors that can occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done so yet; 403, if you don't have a permission to see a specific page; and 404, in case a link that you have clicked leads to a file that does not exist. In any of these cases, website visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Hosting

The custom error pages feature is available with each cloud hosting package deal we offer and you will be able to substitute all the generic pages with your own with no more than a couple of mouse clicks in your Hepsia website hosting Control Panel. You shall need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You can do this for each and every Internet site hosted in the account individually, so that each set of custom made pages will have the very same design and style as the website it's part of. When necessary, you can always revert back to a default page from our system or to a default Apache server page. One other way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you can simply copy the necessary program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support custom error pages, so you will be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and then to enter the link to the custom file. You could do this independently for every error type. You'll be able to switch back to a generic error page whenever you want if required and the change shall take effect immediately. An alternative way to get the same result is to set an .htaccess file in the domain or subdomain folder related to the website that you'd like to change and to input a couple of lines of code inside it. If you need to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, hence you won't need any programming skills or previous experience.