If you have browsed loads of websites, you've probably encountered some error message every now and then. An error may occur if the web hosting server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not able to access a webpage (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Receiving this type of messages may often be frustrating since the pages have nothing in common with the actual site. That’s why some web hosting service providers allow you to set your own error pages which will match the design of your own Internet site and that may have any content that you want - information why the error has occurred, a suggestion what you can do or even some witty comment. This kind of function can help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Shared Hosting

If you acquire a Linux shared hosting from us, you will be able to set customized error pages for your Internet sites easily, as this feature is a part of all of our plans. As soon as you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you'll see drop-down options menus for all 4 types of errors and for each of them you may choose an Apache default page, a generic page from our system or a customized page. If you choose the third option, you should simply type the URL to the file that you've uploaded then save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. In case you don't have prior experience or if you're simply uncertain how to do that, you can just copy/paste the code from our Knowledge Base article on that matter.