If you have looked at loads of sites, you've probably come across some error message from time to time. An error can take place in case the server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not able to access a page (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Encountering this type of messages may sometimes be annoying since the pages have nothing in common with the actual site. That’s why some website hosting providers permit you to apply your own error pages which will match the style of your own website and which may have any content that you want - info why the error has taken place, a suggestion how to handle it or even some humorous comment. Such a function will help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Shared Web Hosting
You can set up customized error pages for all of your domains or subdomains. The function is supported by all shared web hosting package which we provide, so after you log in to your Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will appear, you can select the type of error page that should show up - a default one from our system, a conventional Apache server page or a customized one. For the latter alternative, you'll have to assign the URL to the page, so if you use customized pages, you must upload the files inside 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 actual syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated hosting plans support customized error pages, so you shall be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the specific domain/subdomain and then to enter the link to the custom file. You could do this independently for each and every error type. You'll be able to switch back to a standard error page whenever you want if necessary and the change will take effect immediately. A different way to achieve the same result is to put an .htaccess file in the domain or subdomain folder related to the site that you would like to edit and to type in a few lines of program code in it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you'll not need any coding skills or previous experience.