When a page on your site doesn't load, an error message will be displayed to the visitor. As there are different errors, there are different pages that will show up, but what is typical for all of them is that they are generic and almost certainly shall have practically nothing in common with the design of your site, which can be aggravating for any website visitor. That is the reason why hosting service providers have introduced a function called Custom Error Pages. For a wide variety of different errors, site visitors shall see your customized content, which may be informative or humorous, depending on your personal preference, and that will match the design and style of your website, so the pages shall not look like they are not part of your Internet 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 Hosting

You can set up custom made error pages for each of your domains or subdomains. The function is supported by all shared hosting package which we provide, so after you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can select the type of error page which should show up - a default one from our system, a conventional Apache web server page or a custom one. For the aforementioned option, you must assign the URL to the page, so if you use customized pages, you have to upload the files in your Internet hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The correct 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 Hosting

All our Linux semi-dedicated hosting packages support custom error pages, so you will be able to use this feature for any domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and to type the link to the custom file. You could do this individually for each error type. You'll be able to switch back to a standard error page anytime if necessary and the change will take effect instantly. An alternative way to get the same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you want to edit and to input a couple of lines of code within it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, so you'll not need any programming skills or previous experience.