Whenever a page on your site doesn't load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages which will show up, but what's common for all of them is that they are generic and almost certainly shall have practically nothing in common with the layout of your site, which could be annoying for any website visitor. That is the primary reason why website hosting service providers have introduced a function referred to as Custom Error Pages. For a number of different errors, website visitors shall see your customized content, which can be informative or amusing, depending on your choice, and that will match the overall layout of your site, so the pages will not seem like they aren't part of your Internet site 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 Hosting

You can set up customized error pages for any of your domains or subdomains. The function is supported by all hosting plans which we provide, so as soon as 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 be displayed, you could select the sort of error page that should appear - a default one from our system, a conventional Apache web server page or a custom one. For the latter option, you have to specify the URL to the page, so if you use personalized pages, you must 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 every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated servers support customized error pages, so you shall be able to use this function for every single domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to enter the link to the custom-made file. You could do this independently for every error type. You'll be able to switch back to a default error page at any time if needed and the change will take effect straightaway. A different way to achieve the exact same result is to put an .htaccess file inside the domain or subdomain folder associated with the website that you'd like to modify and to input a few lines of code within it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or prior experience.