If you have checked out lots of websites, you've probably encountered some error message every now and then. An error could occur when the web server cannot process a request (Error 400), if you must 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 page (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Receiving such messages can sometimes be annoying since the pages don't have anything in common with the actual website. That’s why some hosting providers allow you to set your own error pages which will match the design of your own website and which may have any content that you would like - information why the error has taken place, a suggestion how to handle it or even some witty remark. This kind of function will help you keep the visitor on the site whatever the error or the reason for it.

Custom Error Pages in Shared Web Hosting

If you order a Linux shared web hosting from us, you shall be able to set personalized error pages for your Internet sites fast and easy, since this feature is part of all of our solutions. 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 that will appear, you shall see drop-down menus for all four sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. If you pick the 3rd option, you should just input the URL to the file that you've uploaded then save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of program code in it. In case you don't have previous experience or if you're just not sure how to do this, you can simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

Adding your own pages for each of the 4 error types to any Internet site hosted from a semi-dedicated server account with us will be really easy and won't take more than a couple of mouse clicks. After you upload the files to your account, you can go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You could choose what page should display for every single error type. Your options are a default Apache web server page or a page from our system, and custom made pages. Should you choose the aforementioned option, you have to type the link to each page in your account, then save the change. The link or the type of page that will be displayed if a user encounters an error can be changed whenever you want. If you're more experienced, you may use an .htaccess file to set custom error pages too, as opposed to using our integrated generator software instrument, and if you select this option, the file has to be placed in the root directory of a given domain or subdomain.