If a specific page on a site doesn't load for some reason or in case a link is not functioning, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave your site. A potential solution in this case is a feature offered by some web hosting service providers - the option to set your own customized error pages which will have exactly the same design and style as your site and that could contain any text or images that you'd like based on the specific error. There are four popular errors which could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have an authorization to see a specific page; and 404, if a link that you have clicked leads to a file that doesn't exist. In any of these scenarios, site visitors will be able to see your custom made content instead of a generic error page.
Custom Error Pages in Cloud Web Hosting
The custom error pages feature is offered with each cloud web hosting
package deal we offer and you will be able to replace all of the generic pages with your own with no more than a few clicks in your Hepsia website hosting Control Panel. You'll need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for each site hosted in the account independently, so that every set of custom pages will have the same layout as the site it's part of. If necessary, you could always revert back to a default page from our system or to a default Apache server page. Another way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you could simply copy the required code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
If you host your sites in a semi-dedicated server
account with us, you'll be able to set tailor-made error pages for each of them with ease using our in-house created Hepsia hosting Control Panel. With just several mouse clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a custom made one for each of the 4 error types. All you must do is supply a link to each and every file that you've uploaded before that and then save the change. If needed, you will be able to revert this modification at any time and in exactly the same way. If you wish, you may use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder belonging to the site whose error pages you intend to change and the content for this kind of file can be found in our Help article on this matter.