When a page on your Internet site does not load, an error message will be displayed to the site visitor. As there are different errors, there are different pages which will appear, but what is standard for all of them is that they are generic and most likely will have practically nothing in common with the layout of your site, which can be frustrating for any site visitor. That is the primary reason why website hosting service providers have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, visitors will see your custom content, which may be informative or amusing, depending on your personal preference, and that will match the layout of your Internet site, so the pages won't appear as if they are not part of your website at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Website Hosting

If you get a cloud website hosting plan from our company, you'll be able to set custom made error pages for your sites fast and easy, because this function is part of all of our solutions. Once you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up which will be displayed, you shall see drop-down options menus for all four types of errors and for each one of them you could choose an Apache default page, a generic page from our system or a custom page. Should you pick the 3rd option, you should only input the URL to the file which you have uploaded then save the change. One other way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you don't have prior experience or if you're just uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Our Linux semi-dedicated servers support custom made error pages, so you will be able to use this function for any domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to type the link to the custom-made file. You could do this individually for each and every error type. You will be able to switch back to a default error page whenever you want if needed and the change will take effect straightaway. An alternative way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder related to the website which you'd like to modify and to enter a couple of lines of program code inside it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you will not need any programming skills or prior experience.