Custom Error Pages
Get familiar with website error pages. Find out when they appear and why you need to create your individual custom error pages.
If a certain page on an Internet site doesn't load for some reason or if a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your Internet site. A potential solution in this case is a feature made available from some hosting service providers - the option to set up your own custom error pages which shall have identical design and style as your site and which may contain any text or images you want dependent upon the specific error. There are 4 well-known errors which may occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have an authorization to view a specific page; and 404, in case a link which you have clicked leads to a file that does not exist. In each of these situations, visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Hosting
You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all hosting solutions which we provide, so when you log in to the Hepsia Control Panel and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could choose the kind of error page that should show up - a default one from our system, a standard Apache web server page or a customized one. For the latter alternative, you need to specify the URL to the page, so if you use custom pages, you have to upload the files in your hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so you can use this feature even if you don't have any previous experience.