When a page on your Internet site doesn't load, an error message will be shown to the website visitor. Since there are different errors, there are different pages that will show up, but what's common for all of them is that they're generic and probably shall have practically nothing in common with the layout of your website, which can be frustrating for any site visitor. This is the primary reason why web hosting companies have introduced a function known as Custom Error Pages. For a range of different errors, visitors will see your custom made content, which may be informative or amusing, based on your taste, and which will match the overall style and design of your Internet site, so the pages will not seem like they are not part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

The personalized error pages function is provided with each and every hosting package we offer and you'll be able to swap all of the generic pages with your own with no more than a few clicks inside your Hepsia website hosting Control Panel. You'll need to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia CP. You can easily do this for each website hosted inside the account separately, so that every group of personalized pages shall have the very same design and style as the website it's part of. When necessary, you could always return back to a default page from our system or to the default Apache server page. An alternate 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 have never done this before, you may simply copy the needed program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Our Linux semi-dedicated service support custom made error pages, so you will be able to employ this function for every single domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and then to type the link to the custom file. You'll be able to do this separately for each and every error type. You will be able to switch back to a default error page anytime if necessary and the change will take effect instantly. A different way to get the very same result is to put an .htaccess file inside the domain or subdomain folder of the site that you would like to edit and to input a couple of lines of program code inside it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you shall not need any coding skills or prior experience.