If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your site. A solution in cases like this is a feature offered by some website hosting companies - the option to set your own customized error pages that shall have exactly the same style and design as your site and that may contain any text or images that you would like based on the specific error. There are four well-known errors which 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 web server and it can't be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to see a specific page; and 404, when a link that you've clicked leads to a file which does not exist. In each of these situations, visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

When you acquire a cloud hosting service from our company, you shall be able to set custom error pages for your Internet sites easily and quickly, as this function is a part of all of our plans. After you've created the files and uploaded them to your 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. Inside the pop-up which will show up, you'll see drop-down options menus for all 4 kinds of errors and for each of them you may select an Apache default page, a generic page from our system or a customized page. Should you choose the third option, you should simply input the URL to the file which you have uploaded then save the change. Another way to set customized 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 are just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated servers support custom made error pages, so you will be able to employ this feature for any domain or subdomain hosted inside your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the particular domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this separately for every error type. You will be able to switch back to a generic error page at any time if necessary and the change will take effect straightaway. Another way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder of the web site which you would like to modify and to type in a few lines of program code inside it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, so you won't need any coding skills or previous experience.