If a page on your Internet site doesn't load, an error message will be shown to the website visitor. Since there are different errors, there are different pages that will display, but what's common for all of them is that they're generic and almost certainly will have absolutely nothing in common with the design of your Internet site, which could be frustrating for any visitor. This is the reason why hosting providers have introduced a feature known as Custom Error Pages. For a variety of different errors, website visitors shall see your custom made content, which can be informative or amusing, based on your personal preference, and that will match the overall design and style of your site, so the pages will not appear as if they're not part of your site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

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

Custom Error Pages in Semi-dedicated Hosting

Including your personal pages for any of the four error types to any site hosted through a semi-dedicated server account with us will be really uncomplicated and will not take more than several clicks. After you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can 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 personalized pages. Should you pick the last option, you will need to type in the link to every single page inside 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 at any time. In case you’re more experienced, you can use an .htaccess file to be able to set custom error pages as well, as an alternative to using our integrated generator tool, and if you choose this option, the file must be located in the root directory of a given domain or subdomain.