Each time a page on your website doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages which will display, but what's common for all of them is that they are generic and almost certainly shall have practically nothing that is similar to the design of your website, which could be aggravating for any site visitor. This is the primary reason why hosting providers have introduced a feature named Custom Error Pages. For a number of different errors, visitors shall see your customized content, which could be informative or funny, based on your personal preference, and that will match the overall style and design of your site, so the pages will not appear as if they are not part of your Internet site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
If you acquire a shared plan from our company, you'll be able to set custom error pages for your sites quickly and easily, as this feature is a part of all our solutions. Once you have created the files and uploaded them to your web hosting account, you should check out 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 be displayed, you shall see drop-down options menus for all 4 sorts of errors and for each one of them you can choose an Apache default page, a generic page from our system or a customized page. Should you choose the third option, you should only type the URL to the file that you have uploaded then save the change. Another way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have previous experience or if you're just not sure how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Adding your own pages for any of the 4 error types to any site hosted inside a semi-dedicated server account with us shall be very easy and will not take more than a couple of clicks. As soon as you upload the files to your account, you can go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can select what page should appear for every single error type. The alternatives are a default Apache web server page or a page from our system, and personalized pages. If you pick the abovementioned option, you need to type the link to each and every page in your account, then save the change. The link or the kind of page which will appear when a user encounters an error can be modified at any time. In case you are more experienced, you can use an .htaccess file to set in-house made error pages as well, instead of using our integrated generator tool, and should you pick this option, the file has to be placed inside the root directory of a specific domain or subdomain.