Each time a page on your website does not load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages that'll display, but what is standard for all of them is that they are generic and most likely shall have absolutely nothing that is similar to the layout of your website, which may be aggravating for any website visitor. That is the reason why website hosting companies have introduced a function named Custom Error Pages. For a variety of different errors, site visitors will see your unique content, which may be informative or witty, depending on your choice, and which shall match the overall style and design of your Internet site, so the pages won't appear as if they aren't part of your website at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

The custom error pages feature is available with each shared website hosting plan which we offer and you'll be able to replace all of the generic pages with your own with no more than just a few clicks from your Hepsia website hosting CP. You'll need to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each and every Internet site hosted inside the account independently, so that each set of customized pages will have the exact same design as the site it is part of. If needed, you can always return back to a default page from our system or to a default Apache server page. A different way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the necessary program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our Linux semi-dedicated plans support tailor-made error pages, thus you'll be able to use this function for each and every domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and to input the link to the custom file. You could do this independently for each and every error type. You shall be able to switch back to a generic error page whenever you want if required and the change shall take effect right away. A different way to get the same exact result is to place an .htaccess file in the domain or subdomain folder related to the web site which you would like to modify and to input a couple of lines of code in it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or prior experience.