If a page on your site does not load, an error message will be displayed to the website visitor. As there are different errors, there are different pages that'll display, but what is typical for all of them is that they're generic and most likely shall have practically nothing in common with the design of your website, which could be frustrating for any website 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, site visitors shall see your custom content, which could be informative or witty, depending on your preference, and which will match the overall style and design of your site, so the pages won't appear as if they aren't part of your website 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 Shared Hosting
The custom made error pages function is offered with each shared hosting package which we offer and you shall be able to replace all of the generic pages with your own with no more than several mouse clicks from your Hepsia website hosting Control Panel. You will have to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for every single Internet site hosted inside the account independently, so that every set of personalized pages shall have the exact same design and style as the site it is part of. If required, you can always return back to a default page from our system or to the default Apache server page. An alternate way to set personalized 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 needed code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated hosting plans support personalized error pages, so you'll be able to employ this feature for every single domain or subdomain hosted inside 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 related to the specific domain/subdomain and to type in the link to the custom-made file. You'll be able to do this individually for each and every error type. You will be able to switch back to a default error page at any time if necessary and the change will take effect instantly. An alternative way to get the very same result is to place an .htaccess file in the domain or subdomain folder related to the Internet site which you'd like to change and to input a couple of lines of program code in it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you won't need any coding skills or prior experience.