Whenever a page on your website doesn't load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that will display, but what's typical for all of them is that they're generic and in all probability shall have nothing in common with the layout of your website, which can be annoying for any website visitor. That is the primary reason why web hosting companies have introduced a feature known as Custom Error Pages. For a range of different errors, visitors shall see your unique content, which may be informative or amusing, based on your taste, and which shall match the layout of your site, so the pages will not seem like they aren't part of your site at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Website Hosting
You'll be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all shared website hosting plans that we provide, so when you log in to the Hepsia Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you may select the sort of error page that should appear - a default one from our system, a conventional Apache web server page or a personalized one. For the latter option, you will need to assign the URL to the page, so if you use custom pages, you need to upload the files in your web hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The correct syntax can be seen 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
If you host your Internet sites in a semi-dedicated server account with us, you could set customized error pages for each of them with ease via our custom Hepsia hosting CP. With just several mouse clicks inside the Hosted Domains section, you could edit the default setting from a system page to a custom made one for any of the four error types. All you have to do is provide a link to each file which you have uploaded before that and then save the change. If needed, you'll be able to revert this change whenever you want and in exactly the same way. If you want, you may use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder belonging to the internet site whose error pages you intend to change and the content for this kind of file can be found in our Help article for this matter.