If a certain page on a website does not load for some reason or if a link is not working, the website visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your Internet site. A possible solution in this case is a feature made available from some hosting companies - the option to set up your own custom-made error pages which shall have the exact same style and design as your website and that may contain any text or images which you want dependent upon the specific error. There are 4 well-known errors that could take place 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 can't be processed; 401, in case you are supposed to log in to see a page, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, if a link that you have clicked leads to a file which does not exist. In all of these situations, visitors will be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

If you purchase a cloud hosting from us, you will be able to set custom error pages for your websites easily and quickly, as this feature is part of all our plans. As soon as you've created the files and uploaded them to your website hosting account, you should 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 which will appear, you shall see drop-down menus for all 4 kinds of errors and for each of them you could pick an Apache default page, a generic page from our system or a custom made page. In case you choose the third option, you should just type the URL to the file 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 a couple of lines of code in it. If you don't have preceding experience or if you are simply unsure how to do this, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our semi-dedicated hosting support tailor-made error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and then to type in the link to the custom-made file. You'll be able to do this independently for each error type. You'll be able to switch back to a generic error page anytime if needed and the change will take effect right away. A different way to achieve the same exact result is to put an .htaccess file inside the domain or subdomain folder of the web site that you want to edit and to enter several 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, which means that you will not need any programming skills or previous experience.