If you have looked at loads of websites, you've probably stumbled upon some error message every now and then. An error can occur when the web hosting server cannot process a request (Error 400), if you have to log in so as to see some content and you haven't done so (Error 401), if you are not permitted to access a page (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Getting this sort of messages could often be aggravating because the pages have absolutely nothing in common with the actual website. That’s why some website hosting companies allow you to set your own error pages which will match the style of your own site and that may have any content which you'd like - info why the error has appeared, a suggestion how to proceed or even some witty remark. This sort of feature shall help you keep the visitor on the site irrespective of the error and the reason for it.

Custom Error Pages in Shared Website Hosting

You can set up custom made error pages for each of your Internet sites easily if you use any of our Linux shared website hosting packages. This can easily be done using the Hosted Domains section of the Hepsia CP, offered with all accounts and when you go there, you could set your custom made pages independently for any domain or subdomain. You need to upload the files to your account before you start and input the links to them during the process. This function may be de-activated anytime and the options you will be able to pick from are a generic page from our system or a default Apache web server page. Custom error pages may be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it must contain some system code and links to the pages. If you're not tech-savvy, you can copy the entire content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support custom made error pages, so you'll be able to use this feature for every single domain or subdomain hosted inside your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the given domain/subdomain and to type the link to the custom file. You can do this individually for every error type. You will be able to switch back to a default error page at any time if needed and the change shall take effect immediately. An alternative way to achieve the same exact result is to place an .htaccess file in the domain or subdomain folder related to the Internet site that you'd like to edit and to input a couple of lines of program code inside it. If you'd like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or prior experience.