Whenever a page on your site doesn't load, an error message will be displayed to the visitor. As there are different errors, there are different pages that will display, but what's common for all of them is that they are generic and most likely will have absolutely nothing that resembles the layout of your site, which may be irritating for any site visitor. That is the primary reason why website hosting providers have introduced a feature referred to as Custom Error Pages. For a number of different errors, website visitors shall see your custom made content, which may be informative or humorous, based on your choice, and that will match the layout of your Internet site, so the pages shall not appear as if they aren't part of your site at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Web Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all cloud web hosting solutions which we provide, so once you log in to your Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you may pick the type of error page which should appear - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned option, you will need to specify the URL to the page, so when you use customized pages, you have to upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The correct syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your personal pages for each of the 4 error types to any website hosted through a semi-dedicated server account with us will be really simple and will not take more than a few clicks. As soon as you upload the files to your account, you can check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may choose what page should appear for every single error type. Your options are a default Apache web server page or a page from our system, and custom pages. Should you pick the aforementioned option, you must type the link to every single page in your account, then save the change. The link or the kind of page that will be displayed in case a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file to set custom error pages too, instead of using our integrated generator software instrument, and in case you choose this option, the file has to be placed inside the root directory of a particular domain or subdomain.