Custom Error Pages
Understand what a Custom Error Page is, what function does it have and ways to make one.
If a specific page on a site doesn't load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave your site. A solution in such a case is a feature offered by some web hosting providers - the option to set up your own personalized error pages which shall have the same design and style as your website and which can contain any images or text you want based on the specific error. There are 4 well-known errors which may take place and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the 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 don't have a permission to view a particular page; and 404, if a link which you've clicked leads to a file which does not exist. In any of these scenarios, website visitors will be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
You can set up custom made error pages for each of your domains or subdomains. The function is supported by all shared website hosting solutions which we provide, so once 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 which will appear, you may pick the sort of error page that should appear - a default one from our system, a typical Apache server page or a custom one. For the last mentioned option, you will need to specify the URL to the page, so if you use custom pages, you have to upload the files inside your Internet 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 exact syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.