If a page on your Internet site doesn't load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages which will display, but what is standard for all of them is that they are generic and in all probability shall have nothing that is similar to the layout of your Internet site, which could be aggravating for any website visitor. That is the primary reason why website hosting providers have introduced a feature named Custom Error Pages. For a variety of different errors, site visitors will see your custom content, which may be informative or amusing, depending on your personal preference, and that will match the design and style of your website, so the pages will not look like they're not part of your site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
The custom error pages function is provided with each shared hosting package that we offer and you'll be able to replace all the generic pages with your own with no more than a couple of clicks in your Hepsia website hosting Control Panel. You shall have to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can do this for every single web site hosted inside the account independently, so that each group of customized pages will have the same design and style as the Internet site it's part of. When necessary, you may always return back to a default page from our system or to the default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support custom 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 check out the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the given domain/subdomain and to input the link to the custom-made file. You'll be able to do this independently for every error type. You will be able to switch back to a default error page anytime if needed and the change will take effect at once. Another way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder of the web site which you'd like to change and to type in a few lines of code inside it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any programming skills or previous experience.