Whenever a page on your site does not load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that'll show up, but what is standard for all of them is that they are generic and almost certainly shall have nothing that is similar to the layout of your site, which could be frustrating for any visitor. That is the primary reason why web hosting companies have introduced a feature referred to as Custom Error Pages. For a range of different errors, website visitors shall see your custom content, which may be informative or funny, in accordance with your choice, and that will match the design of your website, so the pages won't seem like they aren't part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

If you purchase a Linux hosting from our company, you'll be able to set personalized error pages for your websites easily and quickly, as 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 should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down options menus for all 4 types of errors and for each one of them you could choose an Apache default page, a generic page from our system or a personalized page. Should you select the 3rd option, you should only type the URL to the file which you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. In case you don't have previous experience or if you're simply not sure how to do that, you can simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting support personalized error pages, thus you'll be able to employ this feature for each domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and to type the link to the custom file. You can do this separately for every error type. You will be able to switch back to a standard error page at any time if required and the change will take effect straightaway. An alternative way to get the very same result is to place an .htaccess file in the domain or subdomain folder of the website that you'd like to edit and to enter a few lines of code within it. If you need to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any programming skills or previous experience.