When a page on your site does not load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that will show up, but what's common for all of them is that they are generic and in all probability shall have practically nothing that is similar to the design of your Internet site, which can be aggravating for any website visitor. That is the primary reason why website hosting companies have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, site visitors will see your custom made content, which may be informative or humorous, based on your preference, and that will match the layout of your site, so the pages won't seem like they are not part of your Internet site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
You can set up custom error pages for all of your domains or subdomains. The feature is supported by all shared web hosting package that we provide, so once you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could choose the kind of error page that should appear - a default one from our system, a standard Apache web server page or a personalized one. For the aforementioned alternative, you have to specify the URL to the page, so when you use custom made pages, you must upload the files in your web hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a semi-dedicated server account from us, you could set tailor-made error pages for each of them with ease via our in-house developed Hepsia hosting CP. With just several mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a custom one for each of the 4 error types. All you have to do is supply a link to each and every file you have uploaded before that and then save the change. If necessary, you'll be able to revert this change anytime and in exactly the same way. If you'd like, you may use an .htaccess file too. It should be created/uploaded within the domain or subdomain folder belonging to the internet site whose error pages you want to modify and the content for such a file can be found in our Help article about this matter.