If you have checked out loads of websites, you've probably stumbled upon some error message from time to time. An error could take place in case the server can't process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that is not on the server (Error 404). Encountering this type of messages may sometimes be frustrating as the pages have nothing in common with the actual Internet site. That’s why some hosting providers permit you to use your own error pages that will match the design of your own Internet site and that could have any content which you would like - information why the error has occurred, a suggestion how to proceed or even some witty comment. This kind of function shall help you keep the visitor on the site irrespective of the error and the reason for it.

Custom Error Pages in Shared Hosting

You can set up custom made error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions that we provide, so when 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 which will appear, you can pick the sort of error page which should appear - a default one from our system, a typical Apache server page or a personalized one. For the aforementioned alternative, you need to assign the URL to the page, so if you use custom made pages, you have to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each 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 semi-dedicated servers that we offer support custom error pages and it shall not take more than a couple of clicks in your Hepsia web hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel in which you will need to enter the links to the custom-made files through basic drop-down menus and a user-friendly interface. Of course, you have to upload them inside your account before that. If you do not need to employ this feature at some point, you will be able to deactivate it just as easily and pick an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to activate the custom error pages. The file has to contain a particular line of code and a link for each and every error type and you may discover an example of the whole content for all four error types in our Help section.