If a certain page on a site does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave your site. A likely solution in this case is a function made available from some hosting service providers - the option to set up your own customized error pages which shall have the exact same layout as your website and which could contain any text or images which you want dependent upon the particular error. There are 4 common errors that could take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, when a link which you have clicked leads to a file that does not exist. In all of these cases, visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Hosting

You shall be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all shared hosting plans which we offer, so when you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can select the type of error page that should appear - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned option, you must specify the URL to the page, so when you use custom made pages, you should upload the files inside your website hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The precise syntax can be found in our Knowledge Base, so you can use this function even if you do not have any previous experience.