If a particular page on an Internet site doesn't load for some reason or if a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave your site. A potential solution in this case is a feature offered by some web hosting service providers - the ability to set up your own personalized error pages which will have the exact same style and design as your Internet site and which can contain any images or text that you would like depending on the particular error. There are 4 well-known errors that may take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see some page, but you have not done so yet; 403, if you do not have an authorization to view a certain page; and 404, if a link which you have clicked leads to a file that does not exist. In any of these cases, site visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
You shall be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all shared web hosting solutions which we provide, so when you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could pick the sort of error page that should appear - a default one from our system, a typical Apache web server page or a customized one. For the last mentioned alternative, you need to specify the URL to the page, so if you use personalized pages, you should upload the files inside your web hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.