Custom Error Pages
Get familiar with website error pages. Find out when they appear and why you need to create your own custom error pages.
If you have checked out a lot of sites, you've probably stumbled upon some error message from time to time. An error may take place if the website hosting server cannot process a request (Error 400), if you must log in to see some content and you have not done so (Error 401), if you aren't allowed to access a webpage (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Getting such messages may often be frustrating because the pages don't have anything in common with the actual site. That’s why some website hosting service providers allow you to set your own error pages that'll match the layout of your own Internet site and that may have any content which you would like - info why the error has taken place, a suggestion how to proceed or even some funny remark. Such a feature can help you keep the visitor on the website whatever the error and the reason for it.
-
Custom Error Pages in Cloud Website Hosting
When you buy a
Linux cloud website hosting from our company, you will be able to set personalized error pages for your Internet sites easily and quickly, as this function is a part of all of our plans. After you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will be displayed, you'll see drop-down options menus for all 4 types of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. If you pick the third option, you should just type the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. In case you don't have preceding experience or if you are just not sure how to do that, you could just copy and paste the code from our Knowledge Base article on that topic.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your Internet sites in a
semi-dedicated server account from our company, you could set custom made error pages for any of them easily through our in-house developed Hepsia hosting CP. With just several mouse clicks inside the Hosted Domains section, you are able to modify the default setting from a system page to a custom made one for any of the 4 error types. All you have to do is supply a link to each and every file which you have uploaded before that and then save the change. If required, you will be able to revert this customization whenever you want and in exactly the same way. If you want, you may use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder belonging to the internet site whose error pages you would like to alter and the content for this kind of file can be found in our Help article about this matter.