If a specific page on a site does not load for some reason or in case a link is broken, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave the website. A possible solution in cases like this is a function made available from some website hosting service providers - the ability to set your own customized error pages that will have the exact same style and design as your site and that may contain any text or images that you would like depending on the specific error. There are four well-known errors which may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have a permission to see a specific page; and 404, in case a link that you've clicked leads to a file that doesn't exist. In any of these scenarios, website visitors shall be able to see your custom made content rather than a generic error page.
Custom Error Pages in Cloud Web Hosting
You will be able to set up personalized error pages for any of your domains or subdomains. The function is supported by all cloud web hosting
plans that we provide, so as soon as you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could pick the sort of error page that should appear - a default one from our system, a conventional Apache web server page or a personalized one. For the latter alternative, you'll have to assign the URL to the page, so when you use custom pages, you should upload the files in your web hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The precise syntax can be located in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
When you host your websites in a semi-dedicated server
account from our company, you may set tailor-made error pages for each of them with ease via our in-house created Hepsia hosting CP. With several mouse clicks inside the Hosted Domains section, you can edit the default setting from a system page to a customized one for any of the four error types. All you should do is provide a link to each file you have uploaded before that and then save the change. If needed, you will be able to revert this change at any time and in exactly the same way. If you prefer, you may use an .htaccess file as well. It should be created/uploaded in the domain or subdomain folder belonging to the site whose error pages you would want to alter and the content for such a file can be found in our Help article for this matter.