Custom Error Pages
Understand what a Custom Error Page is, what function does it have and how to create one.
If you have looked at lots of sites, you have probably come across some error message once in a while. An error could take place if the web hosting server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you aren't able to access a webpage (Error 403) or when a link leads to a file which isn't on the server (Error 404). Encountering this type of messages can often be annoying as the pages don't have anything in common with the actual site. That’s why some web hosting providers permit you to use your own error pages which will match the design of your own Internet site and which can have any content which you'd like - info why the error has taken place, a suggestion how to handle it or even some witty comment. This sort of feature shall help you keep the visitor on the website irrespective of the error or the reason for it.
Custom Error Pages in Cloud Hosting
You will be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all cloud hosting
solutions that we offer, so once you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could pick the kind of error page that should appear - a default one from our system, a typical Apache server page or a customized one. For the latter option, you must specify the URL to the page, so when you use custom pages, you should upload the files in your hosting account first. An alternative way is to use an .htaccess file located inside 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 you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting
that we offer support personalized error pages and it shall not take more than a couple of mouse clicks inside your Hepsia website hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel where you'll need to enter the links to the custom-made files using simple drop-down menus and a user-friendly interface. Needless to say, you must upload them to your account before that. If you do not want to use this feature at some point, you will be able to disable it just as quickly and pick an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to allow the customized error pages. The file needs to contain a particular line of code as well as a link for each and every error type and you may find an example of the whole content for all four error types in our Help section.