If you have checked out lots of sites, you've probably encountered some error message every now and then. An error can take place in case the web hosting server can't process a request (Error 400), if you have to log in so that you can see some content and you have not done so (Error 401), if you aren't allowed to access some page (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Encountering this kind of messages can sometimes be annoying since the pages don't have anything in common with the actual website. That’s why some hosting companies permit you to use your own error pages which will match the style of your own Internet site and which can have any content which you would like - information why the error has occurred, a suggestion how to handle it or even some funny comment. This kind of feature shall help you keep the visitor on the site no matter the error or the reason for it.

Custom Error Pages in Cloud Web Hosting

If you purchase a Linux cloud web hosting from our company, you shall be able to set custom error pages for your websites easily, since this function is a part of all our solutions. The moment you have created the files and uploaded them to your 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 which will be displayed, you shall see drop-down menus for all four types of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom page. If you choose the 3rd option, you should just type the URL to the file that you've uploaded and save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you don't have prior experience or if you are simply not sure how to do that, you can simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Including your personal pages for any of the four error types to any Internet site hosted in a semi-dedicated server account with us will be very basic and won't take more than several mouse clicks. As soon as you upload the files in your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You can choose what page should appear for every error type. The alternatives are a standard Apache web server page or a page from our system, and custom pages. In case you pick the aforementioned option, you have to type the link to every single page in your account, then save the change. The link or the kind of page that will be displayed if a user encounters an error can be modified at any time. In case you are more experienced, you may use an .htaccess file to be able to set custom error pages too, rather than using our integrated generator software tool, and in case you choose this option, the file has to be placed in the root directory of a specific domain or subdomain.