Each time a page on your website does not load, an error message will be shown to the site visitor. Since there are different errors, there are different pages which will display, but what's typical for all of them is that they are generic and in all probability shall have practically nothing that is similar to the design of your Internet site, which could be frustrating for any website visitor. That is the primary reason why hosting service providers have introduced a function called Custom Error Pages. For a number of different errors, site visitors shall see your custom made content, which may be informative or amusing, in accordance with your choice, and that will match the design and style of your website, so the pages shall not appear as if they're not part of your Internet 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 Hosting
You'll be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all cloud hosting solutions which we provide, so as soon as you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you can choose the sort of error page that should show up - a default one from our system, a typical Apache server page or a personalized one. For the last mentioned option, you need to assign the URL to the page, so when you use custom made pages, you should upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The correct syntax can be found in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for each of the four error types to any web site hosted inside a semi-dedicated server account with us will be very easy and shall not take more than a couple of clicks. As soon as you upload the files to your account, you could check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You can choose 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 tailor-made pages. Should you select the aforementioned option, you must type the link to every single page inside your account, then save the change. The link or the kind of page which appears in case a user encounters an error can be changed at any time. If you're more experienced, you could use an .htaccess file to set custom error pages too, as an alternative to using our integrated generator instrument, and should you pick this option, the file needs to be placed inside the root directory of a particular domain or subdomain.