If you have looked at a lot of websites, you have probably stumbled upon some error message once in a while. An error could take place when the hosting server can't 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 are not permitted to access some webpage (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Encountering such messages can often be irritating since the pages have absolutely nothing in common with the actual site. That’s why some web hosting companies permit you to use your own error pages that'll match the design of your own website and which could have any content that you'd like - info why the error has occurred, a suggestion how to handle it or even some humorous comment. This sort 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
The customized error pages function is provided with every shared hosting
package that we offer and you shall be able to swap the generic pages with your own with no more than a few mouse clicks inside your Hepsia hosting Control Panel. You shall need to create the actual files and to upload them to your account, then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You could do this for each Internet site hosted inside the account individually, so that each group of personalized pages shall have the exact same layout as the site it is part of. If necessary, you can always go back to a default page from our system or to a default Apache server page. One other way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the required code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Adding your own pages for each of the 4 error types to any site hosted in a semi-dedicated server
account with us will be really simple and shall not take more than several mouse clicks. When you upload the files in your account, you can check out 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 can pick 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 choose the abovementioned option, you will need to type the link to every page inside your account, then save the change. The link or the type of page that will be shown if a user encounters an error can be modified anytime. If you are more experienced, you can use an .htaccess file so as to set customized error pages as well, instead of using our integrated generator tool, and in case you pick this option, the file has to be placed in the root directory of a given domain or subdomain.