If you have looked at many websites, you've probably come across some error message now and again. An error can take place when the server cannot process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you aren't permitted to access some webpage (Error 403) or if a link leads to a file that isn't on the hosting server (Error 404). Encountering this sort of messages could sometimes be frustrating since the pages have nothing in common with the actual site. That’s why some website hosting companies permit you to set your own error pages which will match the style of your own site and that could have any content that you'd like - info why the error has taken place, a suggestion how to proceed or even some humorous comment. This type of function can help you keep the visitor on the website regardless of the error and the reason for it.

Custom Error Pages in Shared Web Hosting

If you obtain a Linux shared web hosting from us, you shall be able to set personalized error pages for your Internet sites easily and quickly, as this function is part of all our plans. The moment you have created the files and uploaded them to your website hosting account, you should check out 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 be displayed, you shall see drop-down options menus for all four types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should simply input the URL to the file that you've uploaded then save the change. A different way to set customized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have preceding experience or if you are simply unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your personal pages for each of the four error types to any Internet site hosted inside a semi-dedicated server account with us will be very basic and shall not take more than a couple of clicks. When you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You may choose what page should appear for each error type. Your options are a standard Apache server page or a page from our system, and custom pages. In case you select the aforementioned option, you must input the link to every single page in your account, then save the change. The link or the type of page that will be shown in case a user encounters an error can be modified at any time. In case you are more experienced, you could use an .htaccess file to be able to set in-house developed error pages as well, as opposed to using our integrated generator tool, and if you pick this option, the file must be positioned inside the root directory of a particular domain or subdomain.