When a page on your Internet site doesn't load, an error message shall be displayed to the visitor. Because 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 almost certainly will have practically nothing in common with the design of your site, which could be aggravating for any site visitor. This is the primary reason why hosting service providers have introduced a function called Custom Error Pages. For a variety of different errors, site visitors shall see your custom content, which can be informative or amusing, depending on your personal preference, and that will match the style and design of your Internet site, so the pages won't appear as if they are not part of your website at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Web Hosting

The custom made error pages feature is available with each and every shared web hosting package which we offer and you'll be able to replace all generic pages with your own with no more than several clicks from your Hepsia website hosting CP. You shall have to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You can do this for each web site hosted inside the account independently, so that each set of custom made pages shall have the exact same style and design as the website it is part of. If required, you could always go back to a default page from our system or to a default Apache server page. A different way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you could simply copy the needed code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

All of our Linux semi-dedicated hosting plans support custom error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the specific domain/subdomain and to type the link to the custom file. You can do this independently for each and every error type. You'll be able to switch back to a standard error page at any time if needed and the change shall take effect immediately. Another way to achieve the same result is to set an .htaccess file inside the domain or subdomain folder of the site which you want to modify and to type in a few lines of program code inside it. If you'd like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, so you will not need any coding skills or prior experience.