Custom Error Pages
Find out what a Custom Error Page is, what function does it serve and how to create one.
If you have looked at many websites, you've probably come across some error message once in a while. An error can take place in case the server cannot process a request (Error 400), if you have to log in so that you can see some content and you have not done so (Error 401), if you are not allowed to access some page (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Getting this type of messages could sometimes be frustrating as the pages have absolutely nothing in common with the actual Internet site. That’s why some web hosting companies allow you to use your own error pages that'll match the style of your own Internet site and which may have any content that you would like - information why the error has occurred, a suggestion how to handle it or even some witty remark. This type of feature will help you keep the visitor on the site whatever the error or the reason for it.
-
Custom Error Pages in Shared Web Hosting
You shall be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all
shared web hosting plans which we provide, so after you log in to the Hepsia Control Panel 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 could choose the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the aforementioned alternative, you will need to assign the URL to the page, so when you use personalized pages, you must upload the files inside 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 error type. The correct syntax can be located in our Knowledge Base, so you can use this function even if you don't have any previous experience.