If you have looked at loads of sites, you have probably encountered some error message once in a while. An error may take place in case the website hosting server cannot process a request (Error 400), if you must log in so as to see some content and you haven't 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 hosting server (Error 404). Receiving this sort of messages may sometimes be annoying as the pages have absolutely nothing in common with the actual site. That’s why some web hosting companies permit you to apply your own error pages that'll match the style of your own Internet site and that can have any content that you want - info why the error has appeared, a suggestion what you can do or even some humorous comment. This type of function shall help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Website Hosting
When you acquire a Linux website hosting service from us, you'll be able to set custom error pages for your Internet sites fast and easy, because this feature is part of all of 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 particular domain or subdomain. Inside the pop-up which will appear, you shall see drop-down options menus for all 4 types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should just enter the URL to the file that you have uploaded and save the change. One other way to set customized 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. If you do not have prior experience or if you are just unsure how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Adding your pages for any of the 4 error types to any Internet site hosted in a semi-dedicated server account with us will be really uncomplicated and will not take more than a couple of clicks. As soon as you upload the files inside 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 through an intuitive interface with drop-down navigation. You may choose what page should appear for every error type. The alternatives are a standard Apache server page or a page from our system, and custom pages. If you select the aforementioned option, you need to type the link to every page in your account, then save the change. The link or the kind of page which shows up if a user encounters an error can be changed whenever you want. In case you’re more experienced, you can use an .htaccess file in order to set tailor-made error pages too, as opposed to using our integrated generator instrument, and if you select this option, the file must be placed in the root directory of a specific domain or subdomain.