Each time a page on your site does not load, an error message will be shown to the 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're generic and almost certainly will have absolutely nothing in common with the layout of your Internet site, which could be frustrating for any visitor. This is the reason why hosting service providers have introduced a function called Custom Error Pages. For a variety of different errors, site visitors shall see your unique content, which could be informative or humorous, based on your choice, and that will match the overall design and style of your Internet site, so the pages will not look like they're not part of your website at all. You may 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 Hosting
You'll be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions which we offer, so once you log in to your Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can pick the type of error page that should show up - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned option, you need to specify the URL to the page, so if you use custom pages, you need to upload the files in your hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The exact 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 sites in a semi-dedicated server account from our company, you may set customized error pages for any of them with ease through our in-house built Hepsia hosting CP. With several mouse clicks in the Hosted Domains section, you can modify the default setting from a system page to a personalized one for any of the 4 error types. All you have to do is provide a link to every single file you have uploaded before that and then save the change. If required, you shall be able to revert this modification whenever you want and in exactly the same way. If you prefer, you can use an .htaccess file as well. It should be created/uploaded inside the domain or subdomain folder belonging to the website whose error pages you would like to change and the content for this sort of file can be found in our Help article for this matter.