If a specific page on a site doesn't 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 will have nothing in common with the rest of the site, that could make the visitor leave your Internet site. A likely solution in cases like this is a function offered by some web hosting companies - the option to set your own customized error pages which shall have the same layout as your website and which can contain any text or images that you would like depending on the specific error. There are 4 common errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have a permission to see a specific page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In any of these scenarios, site visitors shall be able to see your custom made content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
If you acquire a Linux cloud website hosting service from our company, you shall be able to set custom error pages for your sites easily and quickly, as this feature is part of all our plans. The moment you've created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will be displayed, you shall see drop-down menus for all 4 kinds of errors and for each one of them you can choose an Apache default page, a generic page from our system or a tailor-made page. In case you choose the 3rd option, you should only enter the URL to the file you have uploaded then save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. In case you don't have prior experience or if you're simply unsure how to do this, you can simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
All our semi-dedicated services support custom error pages, thus you'll be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the particular domain/subdomain and then to type in the link to the custom file. You can do this individually for each and every error type. You shall be able to switch back to a standard error page at any time if needed and the change will take effect immediately. A different way to get the same result is to place an .htaccess file inside the domain or subdomain folder of the website that you'd like to edit and to input a couple of lines of program code within it. If you'd like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or previous experience.