If a page on your Internet site doesn't load, an error message shall 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 most likely shall have nothing in common with the layout of your Internet site, which may be frustrating for any visitor. That is the primary reason why hosting service providers have introduced a feature named Custom Error Pages. For a number of different errors, site visitors shall see your customized content, which can be informative or witty, in accordance with your personal preference, and that will match the overall design of your website, so the pages shall not look like they're not part of your website at all. You may 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
You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared hosting solutions which we provide, so once you log in to the Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the sort of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the aforementioned option, you must assign the URL to the page, so if you use personalized pages, you have to upload the files in your hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The actual syntax can be found in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Adding your own pages for each of the four error types to any website hosted from a semi-dedicated server account with us will be really uncomplicated and shall not take more than a couple of mouse clicks. When you upload the files inside your account, you could check out 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 could select what page should display for every error type. Your choices are a default Apache server page or a page from our system, and personalized pages. Should you choose the abovementioned option, you need to type in the link to each and every page inside your account, then save the change. The link or the sort of page which will be displayed in case a user encounters an error can be modified anytime. If you are more experienced, you can use an .htaccess file to be able to set in-house made error pages too, rather than using our integrated generator tool, and in case you pick this option, the file needs to be placed inside the root directory of a given domain or subdomain.