Each time a page on your Internet site does not load, an error message shall be displayed to the website visitor. Because there are different errors, there are different pages that will appear, but what's standard for all of them is that they are generic and probably shall have practically nothing that is similar to the design of your site, which can be annoying for any site visitor. This is the main reason why hosting providers have introduced a feature known as Custom Error Pages. For a wide variety of different errors, website visitors shall see your customized content, which could be informative or amusing, depending on your choice, and that will match the overall design of your website, so the pages shall not look like they are not part of your Internet site 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 Web Hosting
The personalized error pages feature is provided with every cloud web hosting package we offer and you will be able to replace all the generic pages with your own with no more than just a few clicks in your Hepsia website hosting Control Panel. You will need to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for each and every site hosted inside the account independently, so that each set of personalized pages shall have the same design and style as the Internet site it is part of. If required, you may always revert back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you could simply copy the necessary code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
Adding your own pages for any of the four error types to any site hosted in a semi-dedicated server account with us shall be very uncomplicated and shall not take more than a few clicks. Once you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can select what page should display for each and every error type. Your choices are a default Apache server page or a page from our system, and custom pages. In case you choose the last option, you need to type in the link to every single page in your account, then save the change. The link or the kind of page that shows up if a user encounters an error can be changed whenever you want. If you are more experienced, you could use an .htaccess file so as to set custom made error pages as well, rather than using our integrated generator instrument, and in case you pick this option, the file should be positioned inside the root directory of a particular domain or subdomain.