If a particular page on a website doesn't load for some reason or if 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 Internet site, which can make the visitor leave your website. A possible solution in such a case is a feature offered by some web hosting providers - the ability to set your own custom error pages that shall have the same layout as your site and that can contain any text or images that you'd like dependent upon the specific error. There are four common errors that could occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you have not done so yet; 403, if you do not have a permission to see a certain page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In any of these scenarios, site visitors will be able to see your custom content instead of a generic error page.
Custom Error Pages in Cloud Website Hosting
You'll be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all cloud website hosting solutions that we provide, so as soon as you log in to your Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could choose the type of error page which should appear - a default one from our system, a conventional Apache server page or a custom one. For the aforementioned alternative, you need to specify the URL to the page, so if you use custom pages, you need to upload the files inside your hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, to help you use this function even if you don't have any previous experience.