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

Custom Error Pages in Web Hosting

The custom made error pages feature is offered with every single web hosting package that we offer and you shall be able to replace all the generic pages with your own with no more than a few mouse clicks from your Hepsia website hosting CP. You'll have to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every Internet site hosted in the account individually, so that each group of custom made pages shall have the same style and design as the website it's part of. If necessary, you may always revert back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the 4 error types to any site hosted through a semi-dedicated server account with us shall be very basic and won't take more than a few mouse clicks. When you upload the files in your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down navigation. You can choose what page should show up for every error type. Your choices are a standard Apache server page or a page from our system, and tailor-made pages. If you select the abovementioned option, you need to enter the link to every page in your account, then save the change. The link or the kind of page which will appear if a user encounters an error can be changed at any time. If you're more experienced, you could use an .htaccess file to be able to set in-house made error pages too, as an alternative to using our integrated generator software tool, and in case you select this option, the file needs to be positioned in the root directory of a given domain or subdomain.