If you have looked at lots of Internet sites, you have probably encountered some error message now and again. An error could occur when the website 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 allowed to access a page (Error 403) or when a link leads to a file which isn't on the web server (Error 404). Encountering this sort of messages may sometimes be irritating since the pages don't have anything in common with the actual website. That’s why some web hosting providers allow you to use your own error pages that'll match the style of your own Internet site and which can have any content that you would like - details why the error has occurred, a suggestion how to handle it or even some humorous remark. Such a feature can help you keep the visitor on the site no matter the error or the reason for it.

Custom Error Pages in Website Hosting

You shall be able to set up custom error pages for any of your domains or subdomains. The feature is supported by all website hosting solutions that we provide, so when you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can pick the sort of error page which should appear - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned option, you'll have to assign the URL to the page, so if you use custom made pages, you have to upload the files in your website hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The precise 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 Hosting

Our Linux semi-dedicated hosting packages support custom error pages, so you shall be able to employ this function for any domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the particular domain/subdomain and then to type the link to the custom file. You can do this independently for every error type. You will be able to switch back to a standard error page at any time if necessary and the change will take effect right away. A different way to achieve the very same result is to put an .htaccess file inside the domain or subdomain folder associated with the site which you would like to edit and to type in a few lines of program code in it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any coding skills or previous experience.