If a specific page on a website doesn't load for some reason or if a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your site. A solution in this case is a function made available from some hosting service providers - the option to set up your own customized error pages that will have the exact same design and style as your website and which could contain any images or text that you'd like based on the specific error. There are four common errors which may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you have clicked leads to a file which does not exist. In any of these cases, website visitors will be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You shall be able to set up custom made error pages for all of your domains or subdomains. The function is supported by all cloud hosting solutions which we offer, so once you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could choose the kind of error page that should show up - a default one from our system, a typical Apache web server page or a customized one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use custom pages, you need to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The precise syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

If you host your websites in a semi-dedicated server account from us, you may set personalized error pages for any of them easily through our in-house developed Hepsia hosting Control Panel. With a few mouse clicks inside the Hosted Domains section, you can modify the default setting from a system page to a personalized one for any of the 4 error types. All you should do is supply a link to every file you have uploaded before that and then save the change. If necessary, you will be able to revert this modification at any time and in exactly the same way. If you prefer, you can use an .htaccess file as well. It must be created/uploaded in the domain or subdomain folder associated with the site whose error pages you want to change and the content for such a file can be found in our Help article on this matter.