If you have looked at a lot of websites, you've probably stumbled upon some error message now and again. An error may take place if the server cannot process a request (Error 400), if you need to log in so as to see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Getting this sort of messages could sometimes be annoying as the pages have nothing in common with the actual Internet site. That’s why some web hosting providers allow you to set your own error pages which will match the design of your own site and which can have any content which you would like - info why the error has occurred, a suggestion how to handle it or even some witty remark. Such a feature will help you keep the visitor on the website regardless of the error and the reason for it.

Custom Error Pages in Cloud Web Hosting

When you buy a Linux cloud web hosting package from our company, you shall be able to set custom error pages for your websites easily and quickly, as this function is a part of all of our packages. The moment you've 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. Inside the pop-up which will be displayed, you shall see drop-down options menus for all four kinds of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom made page. In case you choose the 3rd option, you should just type the URL to the file that you've uploaded then save the change. A different way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you do not have prior experience or if you are simply uncertain how to do that, you could simply 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 4 error types to any website hosted in a semi-dedicated server account with us shall be very simple and won't take more than several clicks. Once you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You can pick what page should display for every error type. The alternatives are a default Apache server page or a page from our system, and custom made pages. In case you select the abovementioned option, you must enter the link to each page inside your account, then save the change. The link or the type of page which appears in case a user encounters an error can be changed at any time. If you're more experienced, you could use an .htaccess file to be able to set tailor-made error pages as well, as opposed to using our integrated generator tool, and in case you select this option, the file should be placed inside the root directory of a specific domain or subdomain.