If a certain page on a site does not load for some reason or in case a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave your site. A likely solution in this case is a feature made available from some hosting service providers - the option to set up your own custom-made error pages which shall have identical design as your website and which could contain any images or text which you want depending on the particular error. There are 4 common errors that could occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have an authorization to see a specific page; and 404, when a link that you've clicked leads to a file which does not exist. In each of these situations, visitors shall be able to see your custom content instead of a generic error page.
Custom Error Pages in Cloud Hosting
You'll be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all cloud hosting plans which we provide, so once you log in to the Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you may pick the type of error page that should appear - a default one from our system, a typical Apache server page or a personalized one. For the aforementioned alternative, you need to specify the URL to the page, so if you use personalized pages, you have to upload the files in your hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The precise syntax can be seen in our Knowledge Base, so you can use this feature even if you don't have any previous experience.