If a particular page on an Internet site does not load for some reason or if a link is not functioning, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave the website. A likely solution in cases like this is a feature made available from some website hosting providers - the ability to set your own customized error pages which will have the exact same design as your Internet site and that may contain any images or text that you would like depending on the specific error. There are four popular errors that may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see some page, but you have not done this yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In all of these situations, site visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Web Hosting
You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared web hosting package which we provide, so once you log in to your Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can pick the kind of error page which should appear - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned alternative, you will need to specify the URL to the page, so if you use personalized pages, you should upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
When you host your web sites in a semi-dedicated server account with us, you'll be able to set tailor-made error pages for each of them with ease using our in-house created Hepsia hosting CP. With only a couple of clicks inside the Hosted Domains section, you'll be able to edit the default setting from a system page to a customized one for any of the 4 error types. All you need to do is provide a link to every file which you have uploaded before that and then save the change. If necessary, you'll be able to revert this change whenever you want and in exactly the same way. If you wish, you could use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder related to the site whose error pages you intend to alter and the content for such a file can be found in our Help article about this matter.