When a page on your site does not load, an error message shall be shown to the website visitor. Since there are different errors, there are different pages which will display, but what is typical for all of them is that they're generic and probably will have nothing that is similar to the layout of your site, which could be annoying for any visitor. That is the main reason why web hosting providers have introduced a feature known as Custom Error Pages. For a variety of different errors, website visitors shall see your custom made content, which could be informative or humorous, in accordance with your preference, and that will match the layout of your Internet site, so the pages won't seem like they are not part of your site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

The personalized error pages feature is available with every website hosting package that we offer and you shall be able to swap all the generic pages with your own with no more than several mouse clicks in your Hepsia hosting CP. You will need to develop the actual files and to upload them to your account, then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for every single Internet site hosted inside the account independently, so that every set of customized pages shall have the same layout as the website it is part of. When necessary, you could always return back to a default page from our system or to the default Apache server page. One other way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you may simply copy the required program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, thus you'll be able to employ this feature for every single domain or subdomain hosted in your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and then to type the link to the custom file. You can do this individually 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 right away. A different way to get the very same result is to place an .htaccess file in the domain or subdomain folder of the website that you want to change and to enter a couple of lines of program code inside it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you shall not need any coding skills or prior experience.