Custom Error Pages
Understand what a Custom Error Page is, what function does it serve and ways 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 if the web server cannot process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you are not allowed to access some page (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Encountering this sort of messages could sometimes be aggravating as the pages don't have anything in common with the actual website. That’s why some website hosting companies permit you to set your own error pages that will match the layout of your own site and which could have any content that you want - info why the error has occurred, a suggestion what you can do or even some amusing remark. Such a feature can help you keep the visitor on the website no matter the error and the reason for it.
-
Custom Error Pages in Cloud Web Hosting
You can set up personalized error pages for each of your websites effortlessly when you use any of our
Linux cloud web hosting services. This can be done using the Hosted Domains section of the Hepsia Control Panel, provided with all accounts and when you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You must upload the files to your account in advance and input the links to them during the process. This function could be de-activated anytime and the options you'll be able to select from are a standard page from our system or a default Apache web server page. Custom error pages can be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it must contain some system code and links to the pages. If you are not tech-savvy, you may copy the whole content needed for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your web sites in a
semi-dedicated server account with us, you may set custom error pages for any of them effortlessly via our in-house created Hepsia hosting CP. With a few clicks in the Hosted Domains section, you can change the default setting from a system page to a tailor-made one for each of the 4 error types. All you have to do is supply a link to every file which you have uploaded before that and then save the change. If required, you shall be able to revert this customization anytime and in exactly the same way. If you prefer, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you would want to modify and the content for such a file can be found in our Help article for this matter.