If a particular page on a website does not load for some reason or if a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave the site. A likely solution in cases like this is a feature made available from some hosting service providers - the ability to set your own customized error pages which shall have identical design as your Internet site and that can contain any text or images that you'd like dependent upon the particular error. There are four well-known errors that may take place and they involve these particular 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, if you are supposed to log in to see some 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 does not exist. In each of these scenarios, website visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Cloud Hosting

If you buy a Linux cloud hosting from our company, you will be able to set customized error pages for your websites easily, since this function is part of all of our plans. After you've created the files and uploaded them to your hosting account, you can 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 appear, you'll see drop-down options menus for all 4 kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom page. If you select the third option, you should only type the URL to the file which you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you don't have previous experience or if you are just uncertain how to do this, you may just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support custom 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 this is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the specific domain/subdomain and then to enter the link to the custom-made file. You can do this separately for every error type. You will be able to switch back to a standard error page whenever you want if needed and the change shall take effect at once. An alternative way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder of the web site which you would like to change and to input a few lines of code within it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you won't need any coding skills or previous experience.