If you have browsed lots of sites, you have probably encountered some error message from time to time. An error may occur if the 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 some webpage (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Getting this sort of messages can often be annoying because the pages have nothing in common with the actual website. That’s why some web hosting providers allow you to apply your own error pages that will match the layout of your own website and which could have any content that you want - details why the error has taken place, a suggestion what you can do or even some amusing remark. This sort of function shall help you keep the visitor on the site regardless of the error or the reason for it.

Custom Error Pages in Cloud Website Hosting

The custom made error pages feature is available with each cloud website hosting package deal we offer and you shall be able to replace all of the generic pages with your own with no more than just a few clicks in your Hepsia hosting Control Panel. 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 using the Hosted Domains section of the Hepsia Control Panel. You can easily do this for every single site hosted in the account individually, so that every set of customized pages shall have identical style and design as the site it is part of. If required, you can always revert back to a default page from our system or to a default Apache server page. One other way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the needed code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated hosting plans support custom made error pages, thus you'll be able to use this function for each and every domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to type in the link to the custom file. You could do this separately for every error type. You'll be able to switch back to a default error page whenever you want if needed and the change shall take effect instantly. A different way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder of the Internet site that you would like to change and to input a couple of lines of code inside it. If you'd like to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any programming skills or previous experience.