Custom Error Pages
Learn what a Custom Error Page is, what role does it have and ways to create one.
If a specific page on a site doesn't load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which could make the visitor leave your website. A possible solution in such a case is a function offered by some web hosting service providers - the option to set your own custom-made error pages which shall have identical style and design as your Internet site and which may contain any text or images which you want depending on the particular error. There are 4 well-known errors that could take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a page, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In all of these cases, website visitors shall be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Cloud Web Hosting
You can set up personalized error pages for all of your domains or subdomains. The feature is supported by all cloud web hosting solutions that we offer, so once you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may select the type of error page that should show up - a default one from our system, a conventional Apache web server page or a customized one. For the last mentioned option, you must specify the URL to the page, so if you use personalized pages, you should upload the files in your Internet hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The exact syntax can be seen in our Knowledge Base, so you can use this feature even if you do not have any previous experience.