If you have browsed lots of sites, you have probably stumbled upon some error message every now and then. An error can take place when the server cannot process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Encountering such messages could sometimes be irritating because the pages have nothing in common with the actual Internet site. That’s why some web hosting companies allow you to apply your own error pages that will match the style of your own site and that could have any content which you want - info why the error has occurred, a suggestion how to handle it or even some witty comment. This type of feature can help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Shared Hosting

You will be able to set up personalized error pages for any of your domains or subdomains. The function is supported by all shared hosting solutions that we provide, so as soon as you log in to your Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could choose the kind of error page which should appear - a default one from our system, a standard Apache web server page or a custom one. For the latter option, you have to specify the URL to the page, so when you use custom made pages, you need to upload the files inside your hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The exact syntax can be seen in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support personalized error pages, so you'll be able to employ this feature for each domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to input the link to the custom-made file. You are able to do this independently for each and every error type. You'll be able to switch back to a default error page anytime if necessary and the change shall take effect immediately. An alternative way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder related to the web site that you want to modify and to type in a few lines of program code in it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you shall not need any coding skills or prior experience.