If a particular page on a website doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave your Internet site. A possible solution in such a case is a function offered by some web hosting companies - the option to set your own custom-made error pages which will have the exact same layout as your Internet site and which can contain any images or text that you'd like depending on the specific error. There are four well-known errors which may occur and they involve these particular 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 are supposed to log in to see a 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've clicked leads to a file which does not exist. In each of these situations, visitors shall be able to see your custom made content instead of a generic error page.
Custom Error Pages in Website Hosting
You shall be able to set up custom error pages for each of your domains or subdomains. The function is supported by all website hosting package which we provide, so once you log in to the Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could pick the type of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned alternative, you'll have to specify the URL to the page, so if you use personalized pages, you need to upload the files in your website hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.