Custom Error Pages
Get familiar with website error pages. Learn when they show up and why you need to make your own custom error pages.
If a page on your Internet site does not load, an error message will be shown to the site visitor. As there are different errors, there are different pages that'll show up, but what's standard for all of them is that they are generic and probably shall have absolutely nothing in common with the layout of your Internet site, which can be aggravating for any site visitor. This is the primary reason why hosting companies have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, visitors will see your unique content, which can be informative or amusing, in accordance with your preference, and that will match the overall layout of your Internet site, so the pages shall not appear as if they aren't 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 Shared Web Hosting
When you obtain a Linux shared web hosting
from us, you will be able to set custom made error pages for your sites easily, since this feature is part of all of our packages. The moment you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you will see drop-down menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should just type the URL to the file you have uploaded then save the change. One other way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you do not have prior experience or if you are just unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
When you host your sites in a semi-dedicated server
account with our company, you'll be able to set custom error pages for each of them easily through our in-house made Hepsia hosting Control Panel. With just several clicks in the Hosted Domains section, you are able to modify the default setting from a system page to a personalized one for any of the four error types. All you need to do is supply a link to each and every file that you've uploaded before that and then save the change. If needed, you will be able to revert this change at any time and in exactly the same way. If you wish, you can use an .htaccess file too. It should be created/uploaded inside the domain or subdomain folder related to the website whose error pages you would want to modify and the content for such a file can be found in our Help article for this matter.