Custom Error Pages
Take a plunge into website error pages. Find out when they appear and why you should configure your own custom error pages.
If a specific page on a website does not load for some reason or in case a link is not working, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A possible solution in such a case is a feature offered by some website hosting companies - the option to set your own custom error pages that will have exactly the same design and style as your site and which could contain any text or images that you would like depending on the particular error. There are four well-known errors which may occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, when a link which you have clicked leads to a file which doesn't exist. In all of these cases, visitors shall be able to see your custom content instead of a generic error page.
-
Custom Error Pages in Cloud Web Hosting
The personalized error pages feature is available with each
cloud web hosting package which we offer and you will be able to swap all the generic pages with your own with no more than a couple of mouse clicks in your Hepsia hosting CP. You shall have to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every web site hosted in the account independently, so that each set of custom made pages shall have identical layout as the website it's part of. If required, you may always go back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the needed program code from our Help article on the subject.
-
Custom Error Pages in Semi-dedicated Hosting
Including your pages for each of the four error types to any site hosted from a
semi-dedicated server account with us will be very basic and shall not take more than several mouse clicks. After you upload the files inside your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could pick what page should display for every error type. Your choices are a standard Apache web server page or a page from our system, and tailor-made pages. If you choose the last option, you must enter the link to each and every page in your account, then save the change. The link or the type of page which shows up if a user encounters an error can be modified whenever you want. If you are more experienced, you may use an .htaccess file to be able to set in-house developed error pages as well, as an alternative to using our integrated generator tool, and if you choose this option, the file should be positioned inside the root directory of a particular domain or subdomain.