If a particular page on an Internet site doesn't load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave the site. A likely solution in cases like this is a function offered by some web hosting service providers - the ability to set up your own customized error pages that will have the same style and design as your website and that can contain any text or images that you would like based on the specific error. There are 4 well-known errors that can take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, if a link that you have clicked leads to a file which doesn't exist. In each of these situations, website visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Cloud Website Hosting

You will be able to set up custom error pages for each of your domains or subdomains. The function is supported by all cloud website hosting solutions that we offer, so as soon as you log in to your Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you could pick the sort of error page which should appear - a default one from our system, a typical Apache web server page or a personalized one. For the last mentioned alternative, you will need to assign the URL to the page, so when you use custom pages, you need to upload the files inside your Internet hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

When you host your websites in a semi-dedicated server account from us, you'll be able to set custom made error pages for any of them effortlessly using our custom Hepsia hosting CP. With just a few mouse clicks inside the Hosted Domains section, you could modify the default setting from a system page to a custom one for each of the 4 error types. All you should do is provide a link to every file which you have uploaded before that and then save the change. If required, you shall be able to revert this modification at any time and in exactly the same way. If you want, you can use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder linked to the internet site whose error pages you intend to alter and the content for this sort of file can be found in our Help article on this matter.