When a page on your site doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages that will display, but what is standard for all of them is that they are generic and probably shall have practically nothing that resembles the design of your site, which may be frustrating for any website visitor. That is the reason why hosting service providers have introduced a function called Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which could be informative or funny, based on your taste, and that will match the style and design of your site, so the pages will not seem like they're not part of your Internet site at all. You can 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 Website Hosting

When you order a shared website hosting from us, you'll be able to set custom error pages for your websites easily, as this function is part of all our solutions. The moment you have created the files and uploaded them to your web hosting account, you can go to 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 that will appear, you will see drop-down menus for all four sorts of errors and for each of them you could select an Apache default page, a generic page from our system or a custom made page. If you select the 3rd option, you should only type the URL to the file that you have uploaded and save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have prior experience or if you are just not sure how to do this, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

When you host your websites in a semi-dedicated server account from our company, you'll be able to set tailor-made error pages for any of them effortlessly via our custom Hepsia hosting CP. With just a couple of clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a custom one for each of the four error types. All you have to do is provide a link to every file that you have uploaded before that and then save the change. If necessary, you shall be able to revert this modification at any time and in exactly the same way. If you'd like, you can use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder associated with the site whose error pages you would like to modify and the content for this type of file can be found in our Help article on this matter.