If you have looked at loads of sites, you have probably encountered some error message from time to time. An error could occur in case 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 aren't allowed to access a page (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Receiving this kind of messages could often be irritating as the pages have absolutely nothing in common with the actual Internet site. That’s why some website hosting service providers allow you to set your own error pages that'll match the layout of your own Internet site and that could have any content that you'd like - information why the error has occurred, a suggestion how to proceed or even some funny comment. This kind of feature will help you keep the visitor on the site irrespective of the error or the reason for it.
Custom Error Pages in Cloud Website Hosting
The customized error pages function is available with every cloud website hosting plan we offer and you will be able to substitute all generic pages with your own with no more than a few clicks in your Hepsia website hosting CP. You'll have to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every website hosted in the account independently, so that each set of personalized pages will have the same layout as the site it's part of. If necessary, you may always return back to a default page from our system or to the default Apache server page. A different way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you never done this before, you can simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
Adding your pages for any of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us shall be very simple and won't take more than a couple of mouse clicks. When you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can select what page should show up for each and every error type. The options are a default Apache web server page or a page from our system, and personalized pages. In case you choose the aforementioned option, you will need to enter the link to each page in your account, then save the change. The link or the sort of page which will be displayed when a user encounters an error can be changed whenever you want. If you are more experienced, you may use an .htaccess file to set in-house made error pages too, as opposed to using our integrated generator instrument, and should you choose this option, the file has to be positioned in the root directory of a specific domain or subdomain.