Whenever a page on your Internet site doesn't load, an error message will be displayed to the website visitor. As there are different errors, there are different pages that will appear, but what is standard for all of them is that they are generic and in all probability shall have nothing in common with the layout of your Internet site, which can be frustrating for any visitor. This is the primary reason why web hosting providers have introduced a feature known as Custom Error Pages. For a wide variety of different errors, visitors will see your unique content, which could be informative or funny, in accordance with your choice, and that will match the layout of your website, so the pages shall not look 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 Web Hosting

You will be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all web hosting plans which we offer, so after you log in to the Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you can pick the type of error page that should show up - a default one from our system, a typical Apache server page or a customized one. For the latter alternative, you must assign the URL to the page, so when you use custom made pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, so you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support personalized error pages, so you shall be able to employ this function for each domain or subdomain hosted inside your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You can do this separately for every error type. You will be able to switch back to a default error page at any time if required and the change will take effect straightaway. Another way to get the same result is to put an .htaccess file inside the domain or subdomain folder related to the website that you want to change and to enter a couple of lines of code inside it. If you need to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any programming skills or previous experience.