If a specific page on an Internet site does not load for some reason or if a link is not functioning, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave your Internet site. A potential solution in cases like this is a function offered by some web hosting service providers - the option to set up your own personalized error pages which will have identical design and style as your site and which could contain any text or images that you would like depending on the particular error. There are four standard errors that may occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you've clicked leads to a file which does not exist. In all of these situations, site visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all hosting package that we offer, so after you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you may select the type of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the aforementioned alternative, you will need to specify the URL to the page, so when you use customized pages, you have to upload the files in your hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

When you host your Internet sites in a semi-dedicated server account from us, you could set custom error pages for each of them effortlessly through our custom Hepsia hosting CP. With only a couple of clicks inside the Hosted Domains section, you could edit the default setting from a system page to a custom one for each of the 4 error types. All you need to do is supply a link to each file that you have uploaded before that and then save the change. If required, you shall be able to revert this customization anytime and in exactly the same way. If you prefer, you may use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder associated with the site whose error pages you would like to alter and the content for this kind of file can be found in our Help article for this matter.