If you have looked at many sites, you've probably encountered some error message once in a while. An error could take place if the website hosting server cannot process a request (Error 400), if you must log in so that you can see some content and you have not done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Encountering this sort of messages can sometimes be frustrating because the pages don't have anything in common with the actual Internet site. That’s why some web hosting providers permit you to apply your own error pages that will match the style of your own site and which can have any content that you'd like - information why the error has taken place, a suggestion how to proceed or even some witty remark. This kind of feature can help you keep the visitor on the site irrespective of the error or the reason for it.

Custom Error Pages in Hosting

If you order a Linux hosting package from us, you will be able to set custom error pages for your Internet sites easily, as this feature is part of all our solutions. After you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up that will appear, you will see drop-down options menus for all four sorts of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom page. Should you select the 3rd option, you should only input the URL to the file which you have uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. In case you don't have prior experience or if you're just uncertain how to do that, you may just copy/paste the code from our Knowledge Base article on that topic.