If a page on your site does not load, an error message shall be shown to the site visitor. As there are different errors, there are different pages that'll appear, but what's common for all of them is that they're generic and probably shall have absolutely nothing in common with the design of your Internet site, which can be frustrating for any website visitor. This is the reason why web hosting companies have introduced a function known as Custom Error Pages. For a number of different errors, site visitors will see your custom content, which can be informative or amusing, in accordance with your choice, and that will match the overall layout of your Internet site, so the pages won't appear as if they're not part of your Internet site at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

When you buy a website hosting plan from our company, you'll be able to set custom made error pages for your sites quickly and easily, since this function is part of all of our packages. The moment you have created the files and uploaded them to your hosting account, you should check out 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 be displayed, you will see drop-down options menus for all 4 kinds of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. If 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 include a couple of lines of code in it. If you don't have previous experience or if you're simply not sure how to do this, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated plans support customized error pages, so you will be able to employ this function for each and every domain or subdomain hosted in your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to type in the link to the custom file. You can do this individually for each and every error type. You will be able to switch back to a standard error page at any time if needed and the change will take effect at once. A different way to get the very same result is to set an .htaccess file inside the domain or subdomain folder of the site which you would like to edit and to input a couple of lines of code within it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, thus you will not need any programming skills or previous experience.