If you have checked out a lot of Internet sites, you've probably stumbled upon some error message every now and then. An error can occur in case the web server cannot process a request (Error 400), if you have to log in so as to see some content and you have not done so (Error 401), if you are not allowed to access a page (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Getting such messages could often be annoying since the pages don't have anything in common with the actual site. That’s why some website hosting companies allow you to use your own error pages that will match the design of your own site and which may have any content which you would like - details why the error has appeared, a suggestion how to proceed or even some humorous remark. This kind of feature can help you keep the visitor on the site whatever the error or the reason for it.

Custom Error Pages in Hosting

If you purchase a Linux hosting package from us, you shall be able to set custom error pages for your Internet sites easily, as this function is a part of all our plans. Once you've 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. Inside the pop-up that will appear, you shall see drop-down menus for all four kinds of errors and for each of them you could select an Apache default page, a generic page from our system or a custom page. Should you select the 3rd option, you should just enter the URL to the file which you have 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 several lines of code in it. In case you don't have prior experience or if you are simply not sure how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Including your pages for any of the four error types to any website hosted in a semi-dedicated server account with us will be really simple and shall not take more than several clicks. Once you upload the files to your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should show up for every error type. The options are a default Apache server page or a page from our system, and personalized pages. If you select the last option, you need to type the link to every page inside your account, then save the change. The link or the sort of page which shows up when a user encounters an error can be changed at any time. If you are more experienced, you may use an .htaccess file so as to set in-house developed error pages too, as opposed to using our integrated generator software tool, and should you choose this option, the file must be placed in the root directory of a given domain or subdomain.