If a certain page on an Internet site doesn't load for some reason or in case a link is not functioning, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A likely solution in such a case is a function offered by some hosting service providers - the option to set up your own custom-made error pages that shall have exactly the same style and design as your Internet site and which could contain any images or text which you want depending on the particular error. There are 4 well-known errors which may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a webpage, but you haven't done this yet; 403, if you do not have a permission to see a certain page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In any of these cases, site visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Website Hosting

If you acquire a shared website hosting service from our company, you'll be able to set custom error pages for your sites fast and easy, because this function is a part of all of 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 selected domain or subdomain. In the pop-up that will show up, you will see drop-down menus for all four types of errors and for each one of them you could select an Apache default page, a generic page from our system or a customized page. In case you select the third option, you should just type the URL to the file which you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you do not have preceding experience or if you are simply uncertain how to do that, you may simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of our semi-dedicated hosting services support customized error pages, so you shall be able to employ this function for each domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the given domain/subdomain and to type the link to the custom-made file. You'll be able to do this separately for every error type. You'll be able to switch back to a standard error page at any time if required and the change will take effect right away. An alternative way to get the same result is to place an .htaccess file in the domain or subdomain folder associated with the web site that you'd like to edit and to type in several lines of program code within it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or previous experience.