If a certain page on a website does not load for some reason or in case a link is not working, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your site. A potential solution in such a case is a function offered by some website hosting service providers - the option to set up your own personalized error pages that will have identical design as your site and that could contain any images or text which you want depending on the particular error. There are 4 standard errors that can take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you have not done so yet; 403, if you do not have a permission to see a specific page; and 404, if a link which you have clicked leads to a file that doesn't exist. In any of these scenarios, visitors shall be able to see your personalized content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

When you obtain a cloud website hosting plan from our company, you'll be able to set custom error pages for your websites easily and quickly, because this feature is part of all of our packages. After you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will appear, you'll see drop-down options menus for all four kinds of errors and for each one of them you may pick an Apache default page, a generic page from our system or a tailor-made page. Should you select the third option, you should only enter the URL to the file which you have uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of program code in it. If you do not have previous experience or if you're simply uncertain how to do this, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

When you host your sites in a semi-dedicated server account with us, you may set custom error pages for each of them easily using our in-house created Hepsia hosting Control Panel. With only a couple of mouse clicks inside the Hosted Domains section, you could modify 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 each and every file you have uploaded before that and then save the change. If needed, you'll be able to revert this modification whenever you want and in exactly the same way. If you prefer, you could use an .htaccess file as well. It must be created/uploaded within the domain or subdomain folder linked to the site whose error pages you would want to change and the content for this sort of file can be found in our Help article about this matter.