If you have browsed a lot of Internet sites, you've probably stumbled upon some error message from time to time. An error can occur when the website hosting 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 some webpage (Error 403) or if a link leads to a file which isn't on the website hosting server (Error 404). Encountering this type of messages could often be annoying as the pages have absolutely nothing in common with the actual website. That’s why some website hosting providers allow you to use your own error pages which will match the layout of your own site and that can have any content which you would like - information why the error has appeared, a suggestion how to proceed or even some witty comment. This sort of feature shall help you keep the visitor on the site whatever the error and the reason for it.

Custom Error Pages in Shared Website Hosting

The personalized error pages function is offered with each shared website hosting plan that we offer and you shall be able to replace all of the generic pages with your own with no more than a couple of clicks from your Hepsia website hosting CP. You shall need to develop the actual files and to upload them to your account, and then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You could do this for each website hosted in the account separately, so that every set of personalized pages shall have the same style and design as the Internet site it is part of. If needed, you may always revert back to a default page from our system or to a default Apache server page. A different way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you may simply copy the required program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any site hosted from a semi-dedicated server account with us shall be very simple and won't take more than a few mouse clicks. As soon as you upload the files to your account, you could check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could pick what page should display for every error type. Your choices are a default Apache server page or a page from our system, and custom pages. If you choose the last option, you have to input the link to each page inside your account, then save the change. The link or the sort of page that will be shown if a user encounters an error can be modified anytime. In case you’re more experienced, you can use an .htaccess file to set custom made error pages too, as an alternative to using our integrated generator software tool, and if you choose this option, the file has to be placed in the root directory of a specific domain or subdomain.