If you have checked out a lot of Internet sites, you've probably come across some error message every now and then. An error can take place if the web server cannot process a request (Error 400), if you have to log in so that you can see some content and you have not done so (Error 401), if you are not allowed to access a webpage (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Receiving such messages may often be aggravating because the pages have nothing in common with the actual Internet site. That’s why some web hosting providers allow you to set your own error pages which will match the style of your own website and that can have any content which you would like - information why the error has taken place, a suggestion how to handle it or even some amusing remark. This type of function will help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Shared Hosting

You shall be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all shared hosting solutions which we offer, so when you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may select the kind of error page that should show up - a default one from our system, a typical Apache server page or a customized one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use personalized pages, you should upload the files in your hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom made error pages, so you'll be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and then to input the link to the custom file. You can do this individually for each error type. You will be able to switch back to a generic error page whenever you want if necessary and the change shall take effect right away. Another way to get the exact same result is to place an .htaccess file in the domain or subdomain folder associated with the web site which you want to edit and to type in a few lines of program code within it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or previous experience.