If a certain page on a site does not load for some reason or if a link is broken, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, that could make the visitor leave your site. A potential solution in such a case is a feature offered by some web hosting providers - the ability to set your own personalized error pages which shall have the same design as your website and which may contain any images or text that you would like dependent upon the specific error. There are four popular errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet 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 webpage, but you have not done this yet; 403, if you do not have a permission to view a certain page; and 404, if a link which you have clicked leads to a file that doesn't exist. In any of these cases, website visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Web Hosting
The custom made error pages feature is available with each shared web hosting
package deal which we offer and you will be able to replace the generic pages with your own with no more than a few mouse clicks from your Hepsia hosting CP. You will need to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You could do this for every single site hosted inside the account separately, so that every set of personalized pages shall have the very same layout as the Internet site it's part of. If needed, you could always revert back to a default page from our system or to a default Apache server page. One other way to set custom made 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 may simply copy the needed code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
All our Linux semi-dedicated servers
support personalized error pages, so you will be able to use this feature for every single domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the particular domain/subdomain and to input the link to the custom file. You are able to do this independently for every error type. You'll be able to switch back to a generic error page anytime if necessary and the change shall take effect straightaway. Another way to achieve the same exact result is to place an .htaccess file inside the domain or subdomain folder of the Internet site that you want to change and to type in several lines of program code inside it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, thus you shall not need any coding skills or prior experience.