If you have looked at many websites, you've probably encountered some error message from time to time. An error may take place if the hosting server cannot process a request (Error 400), if you need to log in so as to see some content and you have not done so (Error 401), if you aren't allowed to access a page (Error 403) or if a link leads to a file which is not on the hosting server (Error 404). Receiving this sort of messages can often be annoying as the pages don't have anything in common with the actual Internet site. That’s why some web hosting providers permit you to set your own error pages that will match the design of your own Internet site and which may have any content that you want - information why the error has occurred, a suggestion how to proceed or even some amusing remark. This type of function shall help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Website Hosting

When you purchase a Linux website hosting from us, you will be able to set customized error pages for your Internet sites easily and quickly, as this feature is a part of all our plans. After you have created the files and uploaded them to your hosting account, you can go to 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 be displayed, you'll see drop-down options menus for all four kinds of errors and for each of them you could pick an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should only input the URL to the file which you have uploaded then save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. In case you don't have previous experience or if you're just uncertain how to do that, you could simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us will be really simple and won't take more than a couple of clicks. As soon as you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You may select what page should show up for each error type. The options are a default Apache server page or a page from our system, and custom pages. In case you select the aforementioned option, you must type the link to every page in your account, then save the change. The link or the kind of page that will be shown in case a user encounters an error can be changed at any time. In case you’re more experienced, you can use an .htaccess file in order to set in-house developed error pages as well, as opposed to using our integrated generator software tool, and in case you choose this option, the file needs to be located inside the root directory of a given domain or subdomain.