If a specific page on a website doesn't load for some reason or if a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave the site. A solution in such a case is a function made available from some hosting companies - the option to set up your own custom error pages that will have exactly the same design and style as your Internet site and that can contain any images or text that you'd like dependent upon the particular error. There are 4 well-known errors which can occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see a web page, but you have not done this yet; 403, if you don't have a permission to view a certain page; and 404, when a link that you've clicked leads to a file which doesn't exist. In any of these scenarios, site visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Cloud Hosting

The custom made error pages feature is offered with every single cloud hosting package which we offer and you will be able to swap all the generic pages with your own with no more than several clicks inside your Hepsia website hosting CP. You will need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for every web site hosted in the account separately, so that every group of custom pages shall have the exact same layout as the website it is part of. If required, you may always return back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the required program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, so you shall be able to use this feature for each and every domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the particular domain/subdomain and then to enter the link to the custom file. You are able to do this separately for every error type. You'll be able to switch back to a default error page whenever you want if required and the change will take effect instantly. A different way to achieve the same result is to set an .htaccess file in the domain or subdomain folder of the Internet site which you'd like to modify and to enter a couple of lines of program code in it. If you'd like 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 shall not need any computer programming skills or prior experience.