If a specific page on a site does not load for some reason or in case a link is broken, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave your Internet site. A solution in cases like this is a feature made available from some hosting providers - the option to set up your own personalized error pages which will have the same layout as your Internet site and which can contain any images or text that you'd like based on the specific error. There are 4 well-known errors that could occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see some page, but you have not done this yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you've clicked leads to a file that does not exist. In all of these cases, website visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Shared Web Hosting

If you purchase a shared web hosting plan from our company, you'll be able to set customized error pages for your sites fast and easy, since this function is part of all of our packages. The moment you've created the files and uploaded them to your website hosting account, you can 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 be displayed, you shall see drop-down options menus for all 4 types of errors and for each of them you could pick an Apache default page, a generic page from our system or a personalized page. Should you choose the third option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. If you do not have prior experience or if you're just not sure how to do this, you can just copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

When you host your Internet sites in a semi-dedicated server account with us, you'll be able to set custom error pages for any of them easily through our custom Hepsia hosting Control Panel. With a couple of clicks in the Hosted Domains section, you are able to modify the default setting from a system page to a custom made one for each of the four error types. All you should do is provide a link to each and every file that you've uploaded before that and then save the change. If needed, you shall be able to revert this customization at any time and in exactly the same way. If you'd like, you can use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder related to the site whose error pages you would like to alter and the content for this sort of file can be found in our Help article on this matter.