If you have browsed a lot of Internet 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 in order to see some content and you have not done so (Error 401), if you are not able to access some page (Error 403) or when a link leads to a file which is not on the server (Error 404). Getting such messages can sometimes be annoying as the pages have absolutely nothing in common with the actual site. That’s why some hosting companies permit you to use your own error pages that'll match the design of your own Internet site and that could have any content which you'd like - info why the error has occurred, a suggestion how to handle it or even some amusing remark. This sort of feature can help you keep the visitor on the site no matter the error or the reason for it.
Custom Error Pages in Web Hosting
If you get a web hosting
from us, you'll be able to set customized error pages for your sites quickly and easily, since this function is a part of all our packages. After you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will appear, you'll see drop-down options menus for all four types of errors and for each of them you can pick an Apache default page, a generic page from our system or a customized page. In case you pick the third option, you should just enter the URL to the file which you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file in 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 are just unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.