Custom Error Pages
Learn what a Custom Error Page is, what function does it have and how to set one.
If you have browsed many sites, you have probably encountered some error message every now and then. An error can take place if the website hosting server can't process a request (Error 400), if you need to log in to see some content and you have not done so (Error 401), if you aren't permitted to access some webpage (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Getting this kind of messages can sometimes be annoying as the pages have absolutely nothing in common with the actual site. That’s why some website hosting service providers permit you to use your own error pages that'll match the style of your own Internet site and that may have any content which you would like - information why the error has occurred, a suggestion what you can do or even some humorous remark. Such a function shall help you keep the visitor on the website regardless of the error or the reason for it.
Custom Error Pages in Hosting
The customized error pages feature is provided with every hosting package we offer and you'll be able to replace all generic pages with your own with no more than several clicks inside your Hepsia website hosting CP. You shall need to create 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 can easily do this for every single site hosted inside the account individually, so that each set of custom pages shall have the very same style and design as the site it's part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. An alternate 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 about the subject.