When a page on your Internet site doesn't load, an error message will be displayed to the visitor. As there are different errors, there are different pages which will show up, but what's typical for all of them is that they are generic and most likely shall have nothing that is similar to the design of your Internet site, which may be annoying for any visitor. That is the reason why website hosting companies have introduced a function named Custom Error Pages. For a number of different errors, website visitors will see your customized content, which may be informative or funny, depending on your personal preference, and that will match the overall style and design of your site, so the pages will not seem like they're not part of your website at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Website Hosting
You shall be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all cloud website hosting
package which we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may choose the type of error page which should appear - a default one from our system, a typical Apache web server page or a customized one. For the last mentioned option, you'll have to specify the URL to the page, so when you use custom pages, you must upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Including your pages for each of the four error types to any Internet site hosted inside a semi-dedicated server
account with us will be very simple and will not take more than a few clicks. Once you upload the files to your account, you can check out 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 could pick what page should display for every single error type. Your choices are a standard Apache web server page or a page from our system, and custom pages. If you choose the last option, you will need to enter the link to each and every page in your account, then save the change. The link or the kind of page which will appear if a user encounters an error can be modified at any time. If you're more experienced, you may use an .htaccess file in order to set custom error pages as well, instead of using our integrated generator tool, and should you pick this option, the file should be positioned in the root directory of a given domain or subdomain.