If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A solution in cases like this is a feature made available from some website hosting providers - the option to set up your own customized error pages that will have the same design as your site and which could contain any images or text you want dependent upon the specific error. There are 4 popular errors which could take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have a permission to view a certain page; and 404, if a link that you've clicked leads to a file that doesn't exist. In each of these scenarios, website visitors shall be able to see your custom content instead of a generic error page.
Custom Error Pages in Cloud Website Hosting
The custom made error pages feature is offered with every cloud website hosting plan we offer and you'll be able to substitute the generic pages with your own with no more than a few clicks inside your Hepsia website hosting Control Panel. You shall need to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia CP. You may do this for every single site hosted in the account independently, so that each group of custom pages shall have the exact same style and design as the Internet site it's part of. When necessary, you can always return back to a default page from our system or to a default Apache server page. Another way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you could simply copy the needed program code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
When you host your Internet sites in a semi-dedicated server account from us, you could set personalized error pages for any of them effortlessly using our in-house developed Hepsia hosting Control Panel. With only several mouse clicks inside the Hosted Domains section, you can edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you must do is provide a link to each file which you have uploaded before that and then save the change. If necessary, you will be able to revert this change at any time and in exactly the same way. If you want, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder related to the site whose error pages you would want to alter and the content for this sort of file can be found in our Help article on this matter.