If a page on your Internet site does not load, an error message will be shown to the visitor. As there are different errors, there are different pages which will appear, but what is common for all of them is that they are generic and probably shall have practically nothing that is similar to the design of your Internet site, which may be irritating for any visitor. That is the reason why website hosting companies have introduced a feature called Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which can be informative or funny, in accordance with your personal preference, and that will match the layout of your Internet site, so the pages won't look like they aren't part of your site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

If you acquire a Linux web hosting from us, you'll be able to set custom error pages for your websites quickly and easily, since this feature is a part of all our packages. Once you've created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you will see drop-down options menus for all 4 sorts of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom made page. Should you pick the third option, you should only input the URL to the file that you've uploaded then save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you do not have prior experience or if you're simply unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Including your own pages for any of the four error types to any site hosted through a semi-dedicated server account with us will be really simple and will not take more than several mouse clicks. Once you upload the files inside 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 through an intuitive interface with drop-down navigation. You may choose what page should appear for each error type. Your choices are a default Apache server page or a page from our system, and tailor-made pages. Should you select the aforementioned option, you need to type the link to every single page in your account, then save the change. The link or the kind of page which appears if a user encounters an error can be modified at any time. If you're more experienced, you can use an .htaccess file to set custom error pages as well, rather than using our integrated generator tool, and if you pick this option, the file has to be placed in the root directory of a particular domain or subdomain.