When a page on your Internet site does not load, an error message shall be shown to the website visitor. Because there are different errors, there are different pages which will appear, but what's standard for all of them is that they are generic and most likely will have nothing that resembles the layout of your website, which can be annoying for any visitor. That is the main reason why website hosting service providers have introduced a feature named Custom Error Pages. For a variety of different errors, website visitors shall see your custom made content, which can be informative or amusing, depending on your preference, and which will match the design and style of your Internet site, so the pages won't look like they're not part of your Internet site at all. You could 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 personalized error pages feature is available with each shared hosting package that we offer and you'll be able to substitute all generic pages with your own with no more than a couple of clicks from your Hepsia website hosting CP. You will have to produce 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 Control Panel. You may do this for every web site hosted inside the account independently, so that each set of customized pages will have the same style and design as the Internet site it's part of. If necessary, you can always go back to a default page from our system or to a 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 add a few lines in it. If you have not done this before, you could simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

Incorporating your personal pages for any of the four error types to any website hosted in a semi-dedicated server account with us will be very easy and will not take more than a few clicks. Once you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could select what page should show up for each error type. Your options are a default Apache web server page or a page from our system, and personalized pages. In case you select the abovementioned option, you must enter the link to each and every page inside your account, then save the change. The link or the sort of page that appears if a user encounters an error can be changed whenever you want. If you're more experienced, you can use an .htaccess file to set in-house developed error pages as well, as an alternative to using our integrated generator tool, and in case you select this option, the file needs to be placed inside the root directory of a given domain or subdomain.