If you have checked out lots of Internet sites, you have probably stumbled upon some error message from time to time. An error can take place in case the web server cannot process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you aren't permitted to access some webpage (Error 403) or when a link leads to a file which isn't on the web server (Error 404). Getting this sort of messages may often be frustrating as the pages have nothing in common with the actual site. That’s why some website hosting providers allow you to set your own error pages that'll match the style of your own Internet site and which can have any content that you would like - information why the error has occurred, a suggestion what you can do or even some humorous comment. This kind of function shall help you keep the visitor on the site irrespective of the error and the reason for it.

Custom Error Pages in Web Hosting

When you purchase a Linux web hosting package from our company, you will be able to set personalized error pages for your sites quickly and easily, as this function is part of all our packages. As soon as you have created the files and uploaded them to your 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. In the pop-up that will show up, you will see drop-down menus for all 4 sorts of errors and for each of them you could choose an Apache default page, a generic page from our system or a tailor-made page. In case you choose the 3rd option, you should only type the URL to the file that you've uploaded and save the change. Another way to set custom made 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 don't have previous experience or if you are just unsure how to do that, you could simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Including your personal pages for any of the 4 error types to any website hosted in a semi-dedicated server account with us will be very easy and will not take more than a couple of mouse clicks. Once you upload the files to 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 could select what page should display for every error type. Your choices are a standard Apache web server page or a page from our system, and tailor-made pages. Should you pick the last option, you have to enter the link to each and every 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 modified at any time. In case you are more experienced, you may use an .htaccess file in order to set tailor-made error pages too, as an alternative to using our integrated generator tool, and in case you choose this option, the file needs to be positioned in the root directory of a given domain or subdomain.