If you have checked out a lot of Internet sites, you've probably encountered some error message once in a while. An error could take place when the hosting server can't process a request (Error 400), if you need to log in so as to see some content and you haven't done so (Error 401), if you are not permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the web server (Error 404). Receiving this type of messages could sometimes be annoying since the pages have nothing in common with the actual site. That’s why some website hosting service providers allow you to use your own error pages that'll match the style of your own website and which could have any content which you want - info why the error has occurred, a suggestion how to handle it or even some amusing comment. Such a feature can help you keep the visitor on the site irrespective of the error and the reason for it.

Custom Error Pages in Website Hosting

You shall be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all website hosting solutions which we offer, so as soon as you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can select the sort of error page which should show up - a default one from our system, a conventional Apache web server page or a personalized one. For the last mentioned alternative, you must specify the URL to the page, so if you use customized pages, you need to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The exact 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 Hosting

All our Linux semi-dedicated hosting support custom made error pages, so you'll be able to employ this function for each domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and to input the link to the custom-made file. You'll be able to do this independently for each error type. You shall be able to switch back to a generic error page whenever you want if required and the change will take effect instantly. A different way to get the very same result is to put an .htaccess file inside the domain or subdomain folder of the web site that you want to change and to type in 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, which means that you won't need any computer programming skills or prior experience.