If you have looked at a lot of sites, you have probably come across some error message every now and then. An error can occur in case the web server can't process a request (Error 400), if you have to log in so that you can see some content and you haven't done so (Error 401), if you are not able to access some page (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Encountering such messages can sometimes be aggravating as the pages have nothing in common with the actual site. That’s why some hosting service providers allow you to apply your own error pages which will match the design of your own site and that may have any content which you want - information why the error has occurred, a suggestion what you can do or even some amusing remark. This sort of feature will help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Shared Web Hosting

You can set up custom error pages for any of your sites effortlessly if you use any of our Linux shared web hosting packages. This can easily be done using the Hosted Domains section of the Hepsia CP, offered with all accounts and once you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You must upload the files to your account ahead of time and enter the links to them through the process. This feature could be de-activated anytime and the options you shall be able to to select from are a generic page from our system or a default Apache server page. Tailor-made error pages could be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you're not tech-savvy, you can copy the whole content necessary for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting packages support custom made error pages, thus you'll be able to employ this function for any domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to input the link to the custom-made file. You can do this separately for each error type. You will be able to switch back to a default error page whenever you want if needed and the change shall take effect right away. An alternative way to achieve the same exact result is to put an .htaccess file in the domain or subdomain folder related to the site that you'd like to edit and to enter a couple of lines of code in it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, thus you won't need any coding skills or prior experience.