If you have looked at many websites, you have probably stumbled upon some error message once in a while. An error may occur when the website hosting server cannot process a request (Error 400), if you have to log in in order to see some content and you have not done so (Error 401), if you are not permitted to access a webpage (Error 403) or when a link leads to a file which is not on the web server (Error 404). Getting this kind of messages may sometimes be aggravating as the pages don't have anything in common with the actual site. That’s why some hosting providers allow you to use your own error pages which will match the style of your own Internet site and which could have any content which you would like - information why the error has appeared, a suggestion how to handle it or even some amusing remark. This sort of function can help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Web Hosting

You'll be able to set up customized error pages for any of your websites easily if you use any of our web hosting services. This can easily be done from the Hosted Domains section of the Hepsia CP, provided with all accounts as soon as you go there, you can set your custom pages independently for any domain or subdomain. You must upload the files to your account before you start and enter the links to them during the process. This feature can be de-activated whenever you want and the options you shall be able to to choose from are a generic page from our system or a default Apache server page. Personalized error pages may be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you could copy the whole content necessary for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support custom error pages, so you will be able to use this feature for any domain or subdomain hosted in your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the particular domain/subdomain and to type the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a standard error page anytime if necessary and the change shall take effect right away. An alternative way to get the same result is to set an .htaccess file in the domain or subdomain folder associated with the site that you would like to edit and to enter several lines of program code inside it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you won't need any coding skills or prior experience.