When a page on your website doesn't load, an error message will be shown to the website visitor. Since 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 in all probability will have absolutely nothing that resembles the design of your website, which can be annoying for any visitor. This is the reason why hosting providers have introduced a feature known as Custom Error Pages. For a wide variety of different errors, visitors shall see your unique content, which can be informative or funny, in accordance with your choice, and which will match the overall design of your website, so the pages shall not appear as if they're not part of your site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

If you order a website hosting plan from us, you shall be able to set customized error pages for your Internet sites fast and easy, 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 should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you'll see drop-down options menus for all four kinds of errors and for each of them you may select an Apache default page, a generic page from our system or a tailor-made page. If you select the third option, you should just enter the URL to the file you have uploaded then save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you do not have preceding experience or if you're just not sure how to do that, you may just copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated servers that we provide support personalized error pages and it shall not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP where you will need to type in the links to the custom-made files through simple drop-down menus and a user-friendly interface. Keep in mind, you should upload them inside your account before that. In case you don't want to employ this function at some point, you can deactivate it just as fast and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the personalized error pages. The file should contain a specific line of code and a link for every single error type and you can easily discover an example of the entire content for all four error types in our Help section.