When a page on your website doesn't load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages that will display, but what's common for all of them is that they are generic and almost certainly will have nothing that is similar to the layout of your site, which can be frustrating for any visitor. That is the reason why hosting service providers have introduced a feature referred to as Custom Error Pages. For a number of different errors, site visitors will see your customized content, which can be informative or funny, in accordance with your preference, and that will match the overall design and style of your Internet site, so the pages won't seem like they are not part of your Internet site at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you order a Linux shared hosting service from our company, you'll be able to set custom made error pages for your websites fast and easy, because this feature is part of all of our plans. The moment you've created the files and uploaded them to your hosting account, you can 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 show up, you'll see drop-down menus for all 4 sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. In case you choose the 3rd option, you should simply type the URL to the file you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have previous experience or if you're simply not sure how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

If you host your sites in a semi-dedicated server account from our company, you can set tailor-made error pages for each of them with ease via our custom Hepsia hosting Control Panel. With a couple of mouse clicks inside the Hosted Domains section, you can edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you should do is supply a link to 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 want, you can use an .htaccess file too. It should be created/uploaded inside the domain or subdomain folder linked to the site whose error pages you would like to alter and the content for this type of file can be found in our Help article for this matter.