If a page on your site doesn't load, an error message will be displayed to the visitor. As there are different errors, there are different pages which will display, but what's standard for all of them is that they are generic and almost certainly will have absolutely nothing in common with the design of your site, which can be annoying for any website visitor. That is the main reason why hosting providers have introduced a function referred to as Custom Error Pages. For a range of different errors, website visitors will see your unique content, which could be informative or funny, based on your taste, and which shall match the overall design and style of your website, so the pages shall not appear as if they're not part of your website at all. You may 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
When you buy a cloud website hosting from us, you will be able to set custom error pages for your sites quickly and easily, since this function is a part of all of our solutions. Once you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you shall see drop-down menus for all 4 kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. If you pick the third option, you should just type the URL to the file which you have uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you do not have prior experience or if you are simply unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
Including your pages for any of the 4 error types to any web site hosted from a semi-dedicated server account with us will be really simple and will not take more than a few clicks. When you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may pick what page should appear for each error type. Your choices are a standard Apache web server page or a page from our system, and custom made pages. In case you pick the abovementioned option, you must input the link to every single page inside your account, then save the change. The link or the type of page which will appear in case a user encounters an error can be modified anytime. 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 software instrument, and if you select this option, the file needs to be positioned in the root directory of a specific domain or subdomain.