If a page on your site does not load, an error message shall be shown to the website visitor. Since there are different errors, there are different pages that will appear, but what is typical for all of them is that they are generic and most likely shall have absolutely nothing in common with the layout of your website, which can be irritating for any website visitor. This is the primary reason why hosting providers have introduced a function named Custom Error Pages. For a number of different errors, visitors will see your custom made content, which could be informative or humorous, in accordance with your preference, and that will match the overall design and style of your website, so the pages will not appear as if they are not part of your site at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Website Hosting
You will be able to set up personalized error pages for all of your domains or subdomains. The function is supported by all cloud website hosting
solutions that we offer, so once you log in to the Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can choose the kind of error page that should appear - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you'll have to assign the URL to the page, so when you use customized pages, you have to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Including your personal pages for any of the 4 error types to any site hosted in a semi-dedicated server
account with us will be very basic and will not take more than a couple of clicks. Once you upload the files in your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may pick what page should show up for every single error type. Your choices are a standard Apache web server page or a page from our system, and custom pages. Should you pick the last option, you will need to enter the link to every single page in your account, then save the change. The link or the kind of page that will be shown in case a user encounters an error can be modified at any time. If you're more experienced, you can use an .htaccess file to be able to set tailor-made error pages as well, as opposed to using our integrated generator software instrument, and if you pick this option, the file must be located inside the root directory of a given domain or subdomain.