Custom Error Pages
Take a plunge into website error pages. Learn when they show up and why you should set up your own custom error pages.
If a particular page on a site doesn't load for some reason or if a link is broken, 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 Internet site. A possible solution in such a case is a function offered by some web hosting providers - the ability to set up your own personalized error pages which will have exactly the same design and style as your Internet site and which may contain any images or text that you'd like dependent upon the specific error. There are 4 common errors that could take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, if a link which you have clicked leads to a file which does not exist. In all of these scenarios, site visitors shall be able to see your personalized content as opposed to a generic error page.
-
Custom Error Pages in Cloud Website Hosting
The customized error pages function is provided with each and every
cloud website hosting plan which we offer and you will be able to swap the generic pages with your own with no more than several mouse clicks in your Hepsia website hosting Control Panel. You will have to create the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for every website hosted inside the account independently, so that every set of custom made pages shall have the exact same layout as the site it is part of. When necessary, you can always return back to a default page from our system or to a default Apache server page. A different way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the required program code from our Help article on this subject.