If you have browsed many websites, you've probably encountered some error message from time to time. An error may take place if the server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not permitted to access a webpage (Error 403) or if a link leads to a file which isn't on the server (Error 404). Encountering this sort of messages may often be annoying because the pages have nothing in common with the actual website. That’s why some hosting providers permit you to use your own error pages which will match the design of your own website and which could have any content which you would like - info why the error has appeared, a suggestion what you can do or even some amusing comment. Such a feature can help you keep the visitor on the site irrespective of the error or the reason for it.

Custom Error Pages in Website Hosting

When you get a website hosting from us, you will be able to set custom made error pages for your sites easily, because this function is part of all our plans. As soon as you've created the files and uploaded them to your web 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. Inside the pop-up which will be displayed, you shall see drop-down menus for all 4 types of errors and for each of them you could pick 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 enter the URL to the file that you've uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. In case you don't have preceding experience or if you are simply not sure how to do that, you can just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Incorporating your personal pages for each of the 4 error types to any web site hosted from a semi-dedicated server account with us will be very easy and won't take more than a few clicks. Once you upload the files to your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can select what page should appear for every single error type. The alternatives are a standard Apache web server page or a page from our system, and custom made pages. If you pick the abovementioned option, you have to enter the link to each page in your account, then save the change. The link or the kind of page which appears when a user encounters an error can be changed at any time. If you are more experienced, you could use an .htaccess file to set custom error pages too, as opposed to using our integrated generator software tool, and in case you choose this option, the file has to be positioned in the root directory of a given domain or subdomain.