If a specific 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 a generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your Internet site. A solution in cases like this is a feature offered by some web hosting providers - the ability to set up your own custom error pages that shall have the same design as your website and that may contain any images or text you want dependent upon the particular error. There are 4 standard errors which may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the 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 so yet; 403, if you don't have an authorization to see a certain page; and 404, if a link that you have clicked leads to a file that doesn't exist. In each of these cases, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You will be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all cloud hosting plans which we offer, so as soon as you log in to the 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 will show up, you may select the type of error page which should appear - a default one from our system, a typical Apache server page or a personalized one. For the last mentioned alternative, you'll have to assign the URL to the page, so if you use personalized pages, you need to upload the files in your web hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
When you host your web sites in a semi-dedicated server account with us, you can set tailor-made error pages for any of them easily through our in-house built Hepsia hosting Control Panel. With a couple of mouse clicks in the Hosted Domains section, you could change the default setting from a system page to a personalized one for any of the four error types. All you must do is supply a link to each file that you've uploaded before that and then save the change. If necessary, you shall be able to revert this change at any time and in exactly the same way. If you would like, you could use an .htaccess file too. It should be created/uploaded inside the domain or subdomain folder linked to the website whose error pages you would want to modify and the content for such a file can be found in our Help article about this matter.