Whenever 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 that'll show up, but what's standard for all of them is that they are generic and in all probability will have absolutely nothing in common with the layout of your website, which could be irritating for any visitor. That is the primary reason why website hosting providers have introduced a feature called Custom Error Pages. For a number of different errors, website visitors will see your custom content, which could be informative or witty, depending on your choice, and that will match the overall design and style of your Internet site, so the pages shall not appear as if they aren't part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The custom made error pages feature is provided with every single web hosting plan we offer and you shall be able to swap all generic pages with your own with no more than just a few clicks inside your Hepsia website hosting Control Panel. You will have to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia CP. You can easily do this for each and every Internet site hosted inside the account separately, so that every set of customized pages will have the exact same design and style as the site it is part of. When necessary, you can always revert back to a default page from our system or to the default Apache server page. A different way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you may simply copy the needed code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the 4 error types to any Internet site hosted inside a semi-dedicated server account with us will be really uncomplicated and shall not take more than a couple of clicks. As soon as you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can choose what page should appear for each error type. Your options are a standard Apache web server page or a page from our system, and custom made pages. If you pick the abovementioned option, you need to input the link to each and every page in your account, then save the change. The link or the sort of page that will appear if a user encounters an error can be modified anytime. If you are more experienced, you could use an .htaccess file to be able to set in-house made error pages as well, instead of using our integrated generator tool, and if you select this option, the file has to be located in the root directory of a given domain or subdomain.