If a particular page on a site doesn't load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your site. A solution in such a case is a feature made available from some website hosting companies - the ability to set up your own customized error pages which shall have the exact same design and style as your website and which could contain any text or images you want dependent upon the specific error. There are 4 popular errors which can take place and they involve these particular so-called HTTP status codes - 400, when your 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 haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In any of these cases, visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Cloud Web Hosting

You shall be able to set up personalized error pages for each of your domains or subdomains. The feature is supported by all cloud web hosting plans which we offer, so as soon as you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can select the kind of error page which should appear - a default one from our system, a typical Apache server page or a personalized one. For the latter alternative, you'll have to specify the URL to the page, so when you use custom pages, you must upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The exact 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

When you host your websites in a semi-dedicated server account from us, you could set custom error pages for each of them easily through our in-house built Hepsia hosting Control Panel. With a couple of clicks inside the Hosted Domains section, you could edit the default setting from a system page to a tailor-made one for any of the 4 error types. All you have to do is supply a link to each file which you have uploaded before that and then save the change. If required, you shall be able to revert this customization anytime and in exactly the same way. If you'd like, you could use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder associated with the website whose error pages you would like to alter and the content for this type of file can be found in our Help article about this matter.