Whenever a page on your Internet site doesn't load, an error message shall be shown to the visitor. Because there are different errors, there are different pages that will appear, but what is standard for all of them is that they're generic and most likely shall have nothing that is similar to the layout of your Internet site, which can be aggravating for any website visitor. This is the reason why web hosting providers have introduced a feature known as Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which can be informative or amusing, in accordance with your choice, and which shall match the design and style of your Internet site, so the pages will not appear as if they are not part of your website at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The personalized error pages feature is provided with each and every web hosting plan we offer and you shall be able to swap all generic pages with your own with no more than a couple of clicks inside your Hepsia hosting Control Panel. You shall have to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each and every site hosted in the account individually, so that every set of custom made pages shall have the same design and style as the site it is part of. When necessary, you may always go back to a default page from our system or to the default Apache server page. A different way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the required code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support personalized error pages, so you'll be able to use this feature 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 on the Edit button associated with the given domain/subdomain and then to type in the link to the custom-made file. You'll be able to do this individually for every error type. You shall be able to switch back to a standard error page whenever you want if needed and the change shall take effect right away. An alternative way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site which you'd like to modify and to enter a couple of lines of code inside it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you will not need any coding skills or previous experience.