Whenever 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 display, but what's common for all of them is that they are generic and most likely will have nothing that is similar to the layout of your site, which could be frustrating for any website visitor. That is the reason why website hosting companies have introduced a feature named Custom Error Pages. For a variety of different errors, site visitors shall see your custom content, which may be informative or amusing, depending on your taste, and that will match the design and style of your Internet site, so the pages shall not seem like they aren't part of your website at all. You could 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 will be able to set up custom error pages for all of your domains or subdomains. The function is supported by all shared hosting solutions that we provide, so as soon as you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will show up, you could pick the kind of error page which should show up - a default one from our system, a standard Apache web server page or a customized one. For the aforementioned alternative, you will need to assign the URL to the page, so when you use custom pages, you should upload the files in your website hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

When you host your websites in a semi-dedicated server account with our company, you may set custom made error pages for any of them with ease via our in-house created Hepsia hosting Control Panel. With only several mouse clicks in the Hosted Domains section, you'll be able to edit the default setting from a system page to a customized one for any of the four error types. All you must do is provide a link to every single file that you have uploaded before that and then save the change. If needed, you will be able to revert this customization at any time and in exactly the same way. If you'd like, you can use an .htaccess file too. It must be created/uploaded in the domain or subdomain folder related to the site whose error pages you would want to change and the content for this type of file can be found in our Help article about this matter.