If you have looked at lots of Internet sites, you've probably encountered some error message now and again. An error can occur when the web server cannot process a request (Error 400), if you have to log in so as to see some content and you have not done so (Error 401), if you aren't able to access a page (Error 403) or if a link leads to a file which is not on the server (Error 404). Encountering this kind of messages may often be annoying because the pages don't have anything in common with the actual Internet site. That’s why some web hosting companies allow you to set your own error pages that'll match the style of your own Internet site and that can have any content which you want - details why the error has occurred, a suggestion how to proceed or even some amusing remark. This type of feature will help you keep the visitor on the website irrespective of the error and the reason for it.

Custom Error Pages in Shared Hosting

You shall be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all shared hosting package which we offer, so as soon as you log in to the Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can choose the sort of error page that should appear - a default one from our system, a typical Apache server page or a customized one. For the latter option, you must assign the URL to the page, so when you use customized pages, you must upload the files in your hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated plans support tailor-made error pages, so you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the specific domain/subdomain and to enter the link to the custom file. You'll be able to do this separately for each error type. You shall be able to switch back to a default error page at any time if required and the change will take effect immediately. A different way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder related to the web site which you'd like to edit and to enter a few lines of program code inside it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or previous experience.