Each time a page on your Internet site doesn't load, an error message will be displayed to the site visitor. Since there are different errors, there are different pages that will show up, but what is standard for all of them is that they're generic and almost certainly will have nothing that is similar to the layout of your Internet site, which can be annoying for any site visitor. That is the main reason why hosting providers have introduced a feature named Custom Error Pages. For a range of different errors, website visitors will see your custom made content, which may be informative or amusing, depending on your choice, and that will match the design and style of your site, so the pages shall not look like they aren't part of your website 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 Shared Web Hosting
If you obtain a Linux shared web hosting
from our company, you will be able to set personalized error pages for your websites easily and quickly, because this function is part of all of our plans. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up which will be displayed, you'll see drop-down menus for all 4 kinds of errors and for each one of them you could choose an Apache default page, a generic page from our system or a customized page. Should you select the third option, you should just enter the URL to the file which you have uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. In case you don't have preceding experience or if you're just not sure how to do this, you may simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
Adding your own pages for each of the four error types to any Internet site hosted inside a semi-dedicated server
account with us shall be very basic and won't take more than several mouse clicks. After 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 via an intuitive interface with drop-down menus. You can pick what page should show up for each and every error type. The choices are a default Apache server page or a page from our system, and personalized pages. Should you select the aforementioned option, you have to input the link to each page inside your account, then save the change. The link or the type of page that will appear when a user encounters an error can be modified at any time. If you're more experienced, you may use an .htaccess file in order to set custom made error pages too, rather than using our integrated generator software tool, and in case you pick this option, the file has to be located inside the root directory of a specific domain or subdomain.