When a page on your site does not load, an error message shall be shown to the website visitor. As there are different errors, there are different pages which will show up, but what's standard for all of them is that they are generic and probably will have absolutely nothing that is similar to the design of your site, which can be irritating for any site visitor. This is the primary reason why hosting providers have introduced a function called Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which can be informative or amusing, in accordance with your taste, and that will match the style and design of your Internet site, so the pages won't look like they're not part of your website at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Web Hosting
If you order a Linux web hosting package from our company, you will be able to set customized error pages for your Internet sites easily, because this feature is part of all our plans. Once you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will be displayed, you'll see drop-down menus for all 4 types of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom page. In case you pick the third option, you should just enter the URL to the file which you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you don't have previous experience or if you're just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
Adding your own pages for any of the 4 error types to any website hosted from a semi-dedicated server account with us will be very basic and will not take more than a couple of clicks. After you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should show up for each error type. The options are a default Apache web server page or a page from our system, and personalized pages. If you pick the last option, you will need to type the link to each page in your account, then save the change. The link or the type of page which shows up if a user encounters an error can be modified whenever you want. If you are more experienced, you can use an .htaccess file in order to set custom made error pages too, rather than using our integrated generator tool, and should you pick this option, the file has to be positioned in the root directory of a particular domain or subdomain.