Custom Error Pages
Get familiar with website error pages. Discover when they show up and why you should set up your own custom error pages.
If you have checked out many websites, you've probably stumbled upon some error message now and again. An error could occur if the server can't process a request (Error 400), if you have to log in so as to see some content and you haven't done so (Error 401), if you are not able to access some page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Encountering this type of messages may sometimes be annoying as the pages don't have anything in common with the actual website. That’s why some website hosting providers permit you to set your own error pages that will match the style of your own website and which can have any content which you want - info why the error has occurred, a suggestion how to handle it or even some witty remark. This kind of feature can help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Web Hosting
You will be able to set up custom 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 your Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could choose 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 latter option, you need to specify the URL to the page, so if you use custom pages, you should upload the files in your web hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each 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.