If a particular page on an Internet site does not load for some reason or if a link is not functioning, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the site. A likely solution in such a case is a function offered by some hosting companies - the option to set your own personalized error pages which shall have identical style and design as your website and that can contain any text or images that you'd like depending on the particular error. There are 4 well-known errors that may take place and they involve these particular so-called HTTP status codes - 400, when your 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 haven't done this yet; 403, if you do not have an authorization to see a particular page; and 404, when a link that you've clicked leads to a file which does not exist. In each of these situations, visitors shall be able to see your custom made content instead of a generic error page.
Custom Error Pages in Cloud Web Hosting
You can set up personalized error pages for any of your domains or subdomains. The function is supported by all cloud web hosting
package which we provide, so when you log in to your 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 be displayed, you could choose the sort of error page which should appear - a default one from our system, a typical Apache web server page or a customized one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use customized pages, you have to upload the files inside your hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The correct syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
When you host your websites in a semi-dedicated server
account with us, you can set custom made error pages for any of them effortlessly via our in-house made Hepsia hosting Control Panel. With only a couple of mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a tailor-made one for any of the 4 error types. All you need to do is supply a link to every single file that you've uploaded before that and then save the change. If required, you'll be able to revert this change anytime and in exactly the same way. If you want, you could use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder linked to the website whose error pages you want to modify and the content for this kind of file can be found in our Help article about this matter.