If a page on your site doesn't load, an error message shall be shown to the website visitor. As there are different errors, there are different pages which will display, but what is typical for all of them is that they're generic and most likely shall have practically nothing in common with the layout of your website, which may be irritating for any site visitor. This is the primary reason why hosting providers have introduced a function called Custom Error Pages. For a number of different errors, visitors will see your custom content, which could be informative or humorous, depending on your preference, and that will match the overall style and design of your website, so the pages won't appear as if they're not part of your website 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 Cloud Hosting

When you obtain a cloud plan from our company, you will be able to set custom error pages for your websites quickly and easily, since this function is a part of all our solutions. As soon as you have 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 selected domain or subdomain. Inside the pop-up that will appear, you'll see drop-down options menus for all four kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. If you pick the third option, you should just input the URL to the file which you have uploaded then save the change. Another way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. If you don't have preceding experience or if you're just unsure how to do that, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

When you host your web sites in a semi-dedicated server account with our company, you may set personalized error pages for any of them with ease via our in-house built Hepsia hosting CP. With a few mouse clicks inside the Hosted Domains section, you'll be able to change the default setting from a system page to a custom one for any of the 4 error types. All you need to do is supply a link to each and every file which you have uploaded before that and then save the change. If required, you will be able to revert this change at any time and in exactly the same way. If you want, you could use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder associated with the site whose error pages you would want to change and the content for this type of file can be found in our Help article on this matter.