Whenever a page on your site does not load, an error message will be displayed to the website visitor. Because there are different errors, there are different pages which will appear, but what's typical for all of them is that they are generic and almost certainly will have nothing that is similar to the design of your website, which could be frustrating for any visitor. That is the reason why hosting companies have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, visitors will see your custom made content, which could be informative or witty, based on your preference, and that will match the design of your website, so the pages shall not appear as if 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 Website Hosting

You will be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all website hosting solutions that we offer, so as soon as you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can pick the sort of error page which should appear - a default one from our system, a typical Apache server page or a custom one. For the last mentioned option, you need to specify the URL to the page, so when you use custom made pages, you need to upload the files inside your web hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The exact syntax can be located in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the four error types to any site hosted inside a semi-dedicated server account with us will be very simple and will not take more than a couple of mouse clicks. After you upload the files in your account, you can go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there using an intuitive interface with drop-down menus. You may choose what page should appear for every single error type. The alternatives are a standard Apache server page or a page from our system, and custom made pages. Should you choose the aforementioned 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 will appear in case a user encounters an error can be modified anytime. If you're more experienced, you can use an .htaccess file to be able to set custom error pages as well, as opposed to using our integrated generator tool, and should you choose this option, the file must be located in the root directory of a given domain or subdomain.