Whenever a page on your site doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages that'll show up, but what is common for all of them is that they're generic and most likely shall have nothing that resembles the design of your site, which may be irritating for any site visitor. That is the primary reason why web hosting service providers have introduced a function known as Custom Error Pages. For a range of different errors, site visitors will see your custom content, which can be informative or amusing, based on your personal preference, and that will match the overall design of your website, so the pages shall not look like they're not 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
When you buy a cloud web hosting from us, you shall be able to set personalized error pages for your websites easily, since this feature is part of all our solutions. Once you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you'll see drop-down menus for all four kinds of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. Should you choose the third option, you should just type the URL to the file that you've uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of program code in it. If you do not have prior experience or if you are simply not sure how to do this, you can just copy/paste the code from our Knowledge Base article on that 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 simple and will 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 pick what page should appear for every error type. The choices are a default Apache web server page or a page from our system, and custom made pages. In case you pick the last option, you must type the link to each page inside your account, then save the change. The link or the type of page which shows up if a user encounters an error can be modified anytime. In case you are more experienced, you could use an .htaccess file to be able to set custom made error pages as well, as opposed to using our integrated generator software tool, and if you choose this option, the file should be placed in the root directory of a given domain or subdomain.