If a certain page on an Internet site does not load for some reason or if a link is broken, the website 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 may make the visitor leave the site. A likely solution in cases like this is a feature made available from some website hosting providers - the option to set up your own custom-made error pages that shall have exactly the same style and design as your Internet site and which may contain any text or images that you'd like dependent upon the specific error. There are 4 well-known errors that can take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some page, but you have not done this yet; 403, if you don't have a permission to see a particular page; and 404, if a link which you've clicked leads to a file which does not exist. In each of these situations, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Hosting
You will be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all hosting solutions which we provide, so after you log in to your 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"ll appear, you can choose the type of error page which should appear - a default one from our system, a standard Apache server page or a customized one. For the last mentioned option, you'll have to assign the URL to the page, so when you use custom made pages, you have to upload the files in your hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.