If you have browsed a lot of Internet sites, you've probably encountered some error message every now and then. An error can occur if the web server cannot process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you aren't permitted to access a page (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Receiving this sort of messages can often be irritating because the pages don't have anything in common with the actual website. That’s why some hosting companies permit you to set your own error pages that'll match the style of your own website and that could have any content that you want - details why the error has appeared, a suggestion how to proceed or even some humorous comment. Such a function can help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Web Hosting

You can set up personalized error pages for any of your domains or subdomains. The function is supported by all web 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 will show up, you may select the type of error page that should show up - a default one from our system, a standard Apache web server page or a personalized one. For the latter alternative, you will need to specify the URL to the page, so if you use custom pages, you should upload the files inside your website hosting account first. Another way is to use an .htaccess file placed inside 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 that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting packages support personalized error pages, so you shall be able to employ this feature for each domain or subdomain hosted inside your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the given domain/subdomain and then to type in the link to the custom-made file. You are able to do this individually for each error type. You'll be able to switch back to a generic error page whenever you want if necessary and the change shall take effect right away. A different way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder associated with the website which you want to change and to enter a few lines of program code inside it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or prior experience.