If you have looked at lots of sites, you've probably encountered some error message now and again. An error may take place in case the hosting server can't process a request (Error 400), if you must log in to see some content and you haven't done so (Error 401), if you are not permitted to access a page (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Encountering this sort of messages may sometimes be annoying because the pages have nothing in common with the actual website. That’s why some web hosting providers permit you to set your own error pages that will match the layout of your own site and that may have any content that you'd like - details why the error has appeared, a suggestion what you can do or even some amusing remark. This kind of feature shall help you keep the visitor on the website regardless of the error and the reason for it.

Custom Error Pages in Web Hosting

If you order a Linux web hosting package from our company, you will be able to set customized error pages for your sites easily and quickly, because this feature is a part of all our packages. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you'll see drop-down menus for all 4 types of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom page. If you select the 3rd option, you should just input the URL to the file that you've uploaded then save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. In case you don't have previous experience or if you are just uncertain how to do that, you can just copy and paste the code from our Knowledge Base article on that subject.