If a specific page on a website doesn't load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave your Internet site. A solution in such a case is a function offered by some website hosting providers - the option to set your own personalized error pages which shall have identical design as your site and which could contain any images or text you want dependent upon the specific error. There are 4 standard errors which may occur and they involve the following so-called HTTP status codes - 400, when your Internet 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 a web page, but you have not done this yet; 403, if you do not have a permission to view a particular page; and 404, if a link which you've clicked leads to a file that does not exist. In each of these scenarios, visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Hosting

When you get a hosting plan from our company, you'll be able to set custom made error pages for your Internet sites fast and easy, since this function is a 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 selected domain or subdomain. Inside the pop-up which will be displayed, you shall see drop-down options menus for all four kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a customized page. Should you pick the third option, you should simply input 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 in the domain or subdomain folder and to add several lines of program code in it. If you don't have preceding experience or if you are just not sure how to do this, you can simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

When you host your sites in a semi-dedicated server account from our company, you may set customized error pages for any of them with ease using our in-house made Hepsia hosting Control Panel. With several mouse clicks in the Hosted Domains section, you can change the default setting from a system page to a tailor-made one for each of the 4 error types. All you should do is supply a link to every file that you've uploaded before that and then save the change. If required, you'll be able to revert this customization at any time and in exactly the same way. If you prefer, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder belonging to the website whose error pages you would like to change and the content for this type of file can be found in our Help article for this matter.