If a particular page on a site doesn't load for some reason or in case a link is broken, 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, which may make the visitor leave your site. A solution in this case is a feature offered by some website hosting service providers - the option to set your own customized error pages that will have identical layout as your Internet site and which could contain any text or images that you would like depending on the specific error. There are four common errors that can take place and they involve these particular 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 are supposed to log in to see a page, but you haven't done so yet; 403, if you do not have an authorization to view a certain page; and 404, when a link which you've clicked leads to a file that doesn't exist. In any of these cases, site visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
When you get a cloud hosting from our company, you'll be able to set custom error pages for your sites easily, because this function is a part of all of our packages. As soon as you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you will see drop-down menus for all 4 types of errors and for each of them you could select an Apache default page, a generic page from our system or a custom page. In case you select the 3rd option, you should simply input the URL to the file that you have uploaded and save the change. One other way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to include a couple of lines of program code in it. If you don't have previous experience or if you're simply uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support personalized error pages, thus you'll be able to use this function for every single domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and then to enter the link to the custom file. You are able to do this individually for each error type. You shall be able to switch back to a generic error page at any time if necessary and the change shall take effect at once. Another way to achieve the very same result is to put an .htaccess file inside the domain or subdomain folder related to the web site which you would like to edit and to input several lines of code inside it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, which means that you will not need any programming skills or previous experience.