Whenever a page on your site doesn't load, an error message shall be displayed to the visitor. Since there are different errors, there are different pages that will display, but what is typical for all of them is that they are generic and almost certainly will have practically nothing in common with the design of your site, which could be irritating for any website visitor. This is the reason why website hosting service providers have introduced a function called Custom Error Pages. For a wide variety of different errors, visitors shall see your unique content, which may be informative or humorous, depending on your taste, and that will match the design of your site, so the pages will not look like they aren't 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 Hosting

If you acquire a hosting from our company, you'll be able to set personalized error pages for your websites quickly and easily, because this function is part of all of our packages. After you have created the files and uploaded them to your web hosting account, you can go to 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 that will appear, you shall see drop-down options menus for all four types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. If you choose the 3rd option, you should simply enter the URL to the file you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of program code in it. If you don't have previous experience or if you're just not sure how to do this, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any website hosted from a semi-dedicated server account with us shall be very basic and will not take more than a few mouse clicks. Once you upload the files inside 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 navigation. You can choose what page should display for every single error type. Your options are a standard Apache web server page or a page from our system, and custom pages. Should you select the aforementioned option, you need to enter the link to every page in your account, then save the change. The link or the sort of page that appears if a user encounters an error can be modified anytime. In case you’re more experienced, you could use an .htaccess file to set customized error pages too, instead of using our integrated generator tool, and in case you select this option, the file must be placed in the root directory of a specific domain or subdomain.