Each time a page on your website does not load, an error message will be shown to the site visitor. Because there are different errors, there are different pages that'll appear, but what's common for all of them is that they're generic and in all probability will have nothing that is similar to the layout of your website, which can be aggravating for any website visitor. That is the primary reason why website hosting providers have introduced a function known as Custom Error Pages. For a wide variety of different errors, website visitors shall see your custom made content, which can be informative or amusing, in accordance with your preference, and which will match the overall design and style of your website, so the pages won't seem like they aren't part of your site 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 Hosting

If you get a Linux hosting service from our company, you shall be able to set customized error pages for your websites easily and quickly, because this function is part of all our solutions. After you have created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you shall see drop-down menus for all 4 types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a personalized page. If you pick the third option, you should only type the URL to the file that you've uploaded and save the change. A different way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. In case you don't have prior experience or if you are simply uncertain how to do this, you may simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Adding your own pages for any of the 4 error types to any web site hosted inside a semi-dedicated server account with us will be very easy and won't take more than several mouse clicks. When you upload the files in your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could select 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. If you choose the aforementioned option, you have to type the link to each and every page in your account, then save the change. The link or the kind of page that will be displayed when a user encounters an error can be changed whenever you want. In case you are more experienced, you may use an .htaccess file so as to set customized error pages as well, rather than using our integrated generator software tool, and should you pick this option, the file needs to be placed inside the root directory of a specific domain or subdomain.