If you have browsed loads of Internet sites, you've probably stumbled upon some error message once in a while. An error can occur when the web 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 permitted to access a webpage (Error 403) or when a link leads to a file which isn't on the server (Error 404). Getting such messages can often be annoying since the pages have nothing in common with the actual website. That’s why some hosting companies allow you to use your own error pages that'll match the style of your own website and which can have any content which you'd like - info why the error has taken place, a suggestion how to handle it or even some amusing comment. This kind of feature shall help you keep the visitor on the website irrespective of the error and the reason for it.
Custom Error Pages in Shared Hosting
If you buy a shared hosting from our company, you shall be able to set personalized error pages for your sites easily, as this feature is part of all of our solutions. After you've 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. Inside the pop-up which will show up, you shall see drop-down menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a customized page. In case you select the third option, you should only enter the URL to the file that you've uploaded then save the change. Another way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you do not have prior experience or if you are simply unsure how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Including your personal pages for each of the 4 error types to any website hosted through a semi-dedicated server account with us will be very uncomplicated and will not take more than a few clicks. When you upload the files to your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could pick what page should appear for each error type. Your choices are a default Apache web server page or a page from our system, and personalized pages. In case you choose the last option, you must enter the link to every single page in your account, then save the change. The link or the kind of page which will appear when a user encounters an error can be modified whenever you want. If you're more experienced, you can use an .htaccess file so as to set personalized error pages too, rather than using our integrated generator software instrument, and in case you choose this option, the file should be located inside the root directory of a specific domain or subdomain.