Custom Error Pages
Learn more about web site error pages, precisely when they display and why you ought to make use of customized error pages.
If a particular page on an Internet site does not load for some reason or if a link is broken, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave your website. A potential solution in this case is a feature made available from some website hosting companies - the ability to set your own custom-made error pages that will have exactly the same design as your site and which could contain any images or text you want dependent upon the particular error. There are 4 common errors which can occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a page, but you have not done this yet; 403, if you don't have an authorization to see a certain page; and 404, if a link which you've clicked leads to a file that does not exist. In all of these situations, visitors shall be able to see your customized content as opposed to a generic error page.
-
Custom Error Pages in Cloud Website Hosting
When you order a
Linux cloud website hosting from us, you will be able to set personalized error pages for your websites fast and easy, as this feature is part of all our packages. After you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down options menus for all four sorts of errors and for each one of them you may choose an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should simply input the URL to the file which you have uploaded and save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. In case you don't have prior experience or if you are simply not sure how to do this, you can simply copy/paste the code from our Knowledge Base article on that topic.