Whenever a page on your website does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will display, but what is typical for all of them is that they are generic and in all probability shall have absolutely nothing that resembles the layout of your website, which could be annoying for any visitor. This is the primary reason why website hosting providers have introduced a feature called Custom Error Pages. For a variety of different errors, site visitors will see your custom made content, which can be informative or funny, depending on your preference, and which shall match the design and style of your website, so the pages will not appear as if they're not part of your website 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 Web Hosting

You'll be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all shared web hosting package which we offer, so as soon as you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can select the sort of error page that should appear - a default one from our system, a conventional Apache web server page or a customized one. For the latter option, you'll have to assign the URL to the page, so if you use customized pages, you need to upload the files inside your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The actual syntax can be seen in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your personal pages for each of the four error types to any website hosted through a semi-dedicated server account with us will be very simple and won't take more than a few mouse clicks. Once you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could pick what page should display for every error type. The choices are a standard Apache server page or a page from our system, and custom pages. If you choose the aforementioned option, you must input the link to every page in your account, then save the change. The link or the kind of page which will be shown if a user encounters an error can be changed whenever you want. If you are more experienced, you can use an .htaccess file to set custom error pages as well, as opposed to using our integrated generator software tool, and should you select this option, the file has to be positioned in the root directory of a given domain or subdomain.