If you have looked at lots of sites, you have probably encountered some error message every now and then. An error could take place in case the server can't process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you aren't permitted to access a page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Receiving this type of messages can sometimes be irritating because the pages don't have anything in common with the actual website. That’s why some website hosting companies permit you to set your own error pages which will match the layout of your own Internet site and that could have any content that you would like - info why the error has occurred, a suggestion how to proceed or even some amusing comment. This kind of function shall help you keep the visitor on the site irrespective of the error or the reason for it.
Custom Error Pages in Shared Web Hosting
You will be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all shared web hosting solutions that we offer, so as soon as you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could pick the kind of error page which should show up - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned alternative, you will need to specify the URL to the page, so when you use personalized pages, you should upload the files inside your website hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a semi-dedicated server account with us, you'll be able to set personalized error pages for each of them with ease through our in-house developed Hepsia hosting Control Panel. With just several clicks inside the Hosted Domains section, you could edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you have to do is supply a link to every file which you have uploaded before that and then save the change. If necessary, you'll be able to revert this modification at any time and in exactly the same way. If you wish, you can use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder linked to the website whose error pages you would want to alter and the content for this kind of file can be found in our Help article about this matter.