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

Custom Error Pages in Cloud Website Hosting

You'll be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all cloud website hosting package which we provide, so as soon as you log in to the Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could select the kind of error page that should show up - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use personalized pages, you have to upload the files inside your website hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The exact syntax can be located 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 Servers

All Linux semi-dedicated servers that we offer support customized error pages and it shall not take more than a few clicks from your Hepsia website hosting Control Panel to use this function. The option is included in the Hosted Domains section of your CP where you will need to input the links to the custom-made files via very simple drop-down menus and a user-friendly interface. Keep in mind, you should upload them to your account before that. If you do not need to employ this feature at some point, you will be able to disable it just as easily and choose an Apache server page or a default page from our system to be shown whenever your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to permit the customized error pages. The file has to include a particular line of code and a link for every single error type and you can find an example of the entire content for all four error types in our Help section.