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

Custom Error Pages in Cloud Web Hosting

You can set up custom error pages for all of your domains or subdomains. The feature is supported by all cloud web hosting solutions which we provide, so as soon as you log in to the 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 that"ll be displayed, you could choose the sort of error page which should show up - a default one from our system, a conventional Apache server page or a personalized one. For the aforementioned option, you will need to assign the URL to the page, so when you use customized pages, you must upload the files in your hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The actual syntax can be found in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom error pages, thus you'll be able to use this function for every single domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to type in the link to the custom-made file. You'll be able to do this independently for each error type. You will be able to switch back to a default error page whenever you want if required and the change shall take effect immediately. A different way to get the same result is to put an .htaccess file inside the domain or subdomain folder of the website which you want to modify and to enter a few lines of code inside it. If you want to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, so you'll not need any programming skills or previous experience.