If you have looked at lots of sites, you have probably come across some error message once in a while. An error may take place when the hosting server cannot process a request (Error 400), if you have to log in so that you can see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file which is not on the web server (Error 404). Getting such messages could often be frustrating because the pages have nothing in common with the actual website. That’s why some web hosting companies permit you to set your own error pages that'll match the style of your own website and which could have any content which you want - details why the error has appeared, a suggestion how to handle it or even some funny remark. Such a function can help you keep the visitor on the site whatever the error or the reason for it.
Custom Error Pages in Shared Hosting
When you order a shared hosting
from our company, you will be able to set custom made error pages for your websites easily and quickly, since this function is a part of all our plans. Once you've 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. Inside the pop-up which will be displayed, you'll see drop-down menus for all four sorts of errors and for each one of them you can choose an Apache default page, a generic page from our system or a customized page. If you select the third option, you should only enter the URL to the file which you have uploaded and save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have preceding experience or if you're simply not sure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.