If a page on your Internet site doesn't load, an error message shall be displayed to the website visitor. Because there are different errors, there are different pages that'll display, but what's common for all of them is that they're generic and most likely will have absolutely nothing in common with the design of your website, which can be annoying for any website visitor. That is the primary reason why hosting companies have introduced a feature named Custom Error Pages. For a variety of different errors, website visitors shall see your custom content, which could be informative or witty, depending on your choice, and that will match the design of your Internet site, so the pages will not look like they're not part of your site at all. You may use this option for a number 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 our company, you will be able to set customized error pages for your Internet sites easily and quickly, because this function is part of all of our plans. Once 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 be displayed, you will see drop-down options menus for all four types of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom page. Should you choose the 3rd option, you should simply enter the URL to the file that you have uploaded then save the change. One other way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have previous experience or if you are just uncertain how to do that, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated servers support personalized error pages, so you will be able to use this function for any domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular domain/subdomain and to type the link to the custom file. You'll be able to do this independently for each error type. You will be able to switch back to a standard error page whenever you want if required and the change will take effect right away. Another way to get the same exact result is to place an .htaccess file inside the domain or subdomain folder associated with the site that you'd like to change and to input several lines of program code in it. If you'd like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you'll not need any coding skills or previous experience.