Whenever a page on your website does not load, an error message will be shown to the website visitor. Since there are different errors, there are different pages that will display, but what's typical for all of them is that they are generic and probably will have nothing in common with the layout of your website, which can be aggravating for any site visitor. This is the reason why hosting service providers have introduced a feature called Custom Error Pages. For a variety of different errors, visitors shall see your unique content, which can be informative or funny, in accordance with your preference, and which shall match the overall design and style of your website, so the pages shall not appear as if they're not part of your website at all. You may 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 provided with each and every shared web hosting package that we offer and you'll be able to swap all generic pages with your own with no more than a couple of mouse clicks from your Hepsia website hosting Control Panel. You will need to create the actual files and to upload them to your account, 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 and every web site hosted inside the account independently, so that each group of custom pages shall have the exact same layout as the site it's part of. If necessary, you can always revert back to a default page from our system or to the default Apache server page. One other 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 have never done this before, you could simply copy the necessary code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any website hosted in a semi-dedicated server account with us shall be very simple and shall not take more than a few mouse clicks. As soon as you upload the files in your account, you can check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may choose what page should display for each error type. The choices are a default Apache server page or a page from our system, and custom pages. Should you choose the abovementioned option, you have to enter the link to each and every page inside your account, then save the change. The link or the type of page which shows up in case a user encounters an error can be changed at any time. If you're more experienced, you can use an .htaccess file to set custom error pages as well, instead of using our integrated generator tool, and in case you pick this option, the file has to be located inside the root directory of a particular domain or subdomain.