Each time a page on your site doesn't load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages which will show up, but what is common for all of them is that they are generic and in all probability shall have absolutely nothing in common with the layout of your Internet site, which can be irritating for any site visitor. That is the main reason why web hosting companies have introduced a function named Custom Error Pages. For a wide variety of different errors, visitors will see your unique content, which could be informative or funny, depending on your taste, and which shall match the layout of your website, so the pages won't look like they're not part of your website 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 Website Hosting

When you acquire a website hosting from us, you will be able to set customized error pages for your sites easily, since this feature is a part of all our packages. After 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 particular domain or subdomain. Inside the pop-up which will show up, you'll see drop-down menus for all 4 kinds of errors and for each one of them you can select an Apache default page, a generic page from our system or a tailor-made page. If you choose the 3rd option, you should just enter the URL to the file that you've uploaded then save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you don't have prior experience or if you are just unsure how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, so you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and then to type in the link to the custom file. You'll be able to do this individually for every error type. You will be able to switch back to a default error page whenever you want if required and the change shall take effect immediately. An alternative way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder related to the Internet site which you'd like to edit and to input several lines of code within it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or previous experience.