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 shall have nothing in common with the rest of the site, which could make the visitor leave the site. A potential solution in such a case is a function offered by some web hosting service providers - the ability to set your own personalized error pages that will have identical design and style as your site and that could contain any text or images that you would like based on the specific error. There are four common errors that 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 can't be processed; 401, in case you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, when a link that you have clicked leads to a file that does not exist. In any of these scenarios, site visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
The customized error pages feature is available with every shared web hosting package deal which we offer and you shall be able to swap all generic pages with your own with no more than a couple of mouse clicks inside your Hepsia hosting CP. You'll have to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia CP. You can easily do this for each and every web site hosted in the account separately, so that every set of custom made pages shall have the exact same layout as the site it's part of. If necessary, you could always return back to a default page from our system or to the 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 can simply copy the necessary program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated plans support custom error pages, so you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and then to type the link to the custom file. You are able to do this independently for each and every error type. You shall be able to switch back to a default error page anytime if needed and the change will take effect at once. A different way to get the same exact result is to set an .htaccess file inside the domain or subdomain folder of the Internet site which you would like to edit and to enter several lines of code within it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or previous experience.