If you have looked at many websites, you've probably stumbled upon some error message once in a while. An error could take place in case the server can't 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 able to access a page (Error 403) or when a link leads to a file which is not on the website hosting server (Error 404). Getting this sort of messages may often be aggravating since the pages don't have anything in common with the actual Internet site. That’s why some website hosting companies permit you to use your own error pages which will match the style of your own site and that could have any content that you want - information why the error has appeared, a suggestion how to proceed or even some amusing remark. This type of function can help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Shared Hosting

If you order a Linux shared hosting from us, you will be able to set customized error pages for your websites quickly and easily, as this feature is a part of all of our packages. As soon as you have created the files and uploaded them to your website hosting account, you should 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'll see drop-down menus for all four kinds of errors and for each one of them you could pick an Apache default page, a generic page from our system or a tailor-made page. In case you select the third option, you should just enter the URL to the file that you have uploaded and save the change. A different way to set personalized error pages is to set up 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 this, you can just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Adding your pages for each of the four error types to any site hosted from a semi-dedicated server account with us will be very easy and will not take more than a few mouse clicks. When you upload the files in your account, you could check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You can select what page should display for each and every error type. Your options are a standard Apache server page or a page from our system, and customized pages. In case you select the last option, you have to enter the link to every single page inside your account, then save the change. The link or the type of page that shows up in case a user encounters an error can be modified whenever you want. If you are more experienced, you can use an .htaccess file so as to set in-house made error pages as well, rather than using our integrated generator tool, and in case you select this option, the file has to be placed inside the root directory of a particular domain or subdomain.