If a certain page on a website doesn't load for some reason or in case a link is not functioning, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the website. A solution in such a case is a feature made available from some hosting companies - the ability to set your own custom-made error pages that will have the exact same style and design as your website and that may contain any text or images which you want depending on the particular error. There are 4 common errors which could occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to view a certain page; and 404, if a link that you have clicked leads to a file which doesn't exist. In any of these cases, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Hosting
You can set up customized error pages for any of your domains or subdomains. The feature is supported by all hosting solutions which we offer, so when you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could pick the kind of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the last mentioned alternative, you need to assign the URL to the page, so when you use customized pages, you must upload the files inside 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 precise syntax can be found in our Knowledge Base, so that you can use this function even if you don't have any previous experience.