If a specific page on an Internet site does not load for some reason or in case a link is not working, the website visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave the site. A solution in cases like this is a function offered by some hosting companies - the option to set up your own custom error pages that shall have identical style and design as your Internet site and which could contain any images or text that you would like depending on the specific error. There are four popular errors which can take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't 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 a permission to see a certain page; and 404, in case a link which you have clicked leads to a file which does not exist. In all of these cases, site visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Hosting

You shall be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all hosting solutions which we provide, so when you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can pick the type of error page which should show up - a default one from our system, a typical Apache web server page or a customized one. For the latter alternative, you have to specify the URL to the page, so when you use custom pages, you must upload the files inside your hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The precise syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your Internet sites in a semi-dedicated server account from our company, you'll be able to set tailor-made error pages for each of them effortlessly via our in-house made Hepsia hosting CP. With only a couple of clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a custom made one for any of the four error types. All you should do is supply a link to each file which you have uploaded before that and then save the change. If needed, you'll be able to revert this customization anytime and in exactly the same way. If you want, you may use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder associated with the website whose error pages you would want to alter and the content for such a file can be found in our Help article for this matter.