Whenever a page on your website doesn't load, an error message will be shown to the visitor. Since there are different errors, there are different pages which will show up, but what's typical for all of them is that they are generic and almost certainly will have practically nothing that is similar to the design of your website, which can be frustrating for any website visitor. This is the reason why web hosting providers have introduced a function referred to as Custom Error Pages. For a number of different errors, website visitors shall see your custom content, which may be informative or amusing, depending on your taste, and which shall match the overall layout of your website, so the pages won't appear as if they're not part of your Internet site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Hosting
If you order a shared hosting service from our company, you'll be able to set custom made error pages for your sites easily, since this function is a part of all our packages. Once you've 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 which will appear, you will see drop-down options menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should only input the URL to the file which you have uploaded then save the change. Another way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. If you don't have preceding experience or if you are simply not sure how to do this, you may just copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
Including your personal pages for any of the 4 error types to any Internet site hosted from a semi-dedicated server account with us will be really easy and will not take more than a few clicks. After you upload the files to your account, you can check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You could pick what page should appear for each and every error type. Your options are a default Apache server page or a page from our system, and custom pages. Should you pick the last option, you have to type the link to every page inside your account, then save the change. The link or the kind of page that appears when a user encounters an error can be changed anytime. In case you are more experienced, you may use an .htaccess file to set tailor-made error pages too, instead of using our integrated generator software tool, and should you pick this option, the file needs to be placed inside the root directory of a particular domain or subdomain.