If a certain page on an Internet site doesn't load for some reason or if a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which could make the visitor leave your website. A likely solution in this case is a function made available from some hosting service providers - the ability to set up your own customized error pages that shall have the exact same style and design as your Internet site and which could contain any text or images that you'd like dependent upon the specific error. There are four common errors that could occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see a web page, but you haven't done so yet; 403, if you don't have a permission to view a certain page; and 404, when a link which you've clicked leads to a file which doesn't exist. In all of these scenarios, site visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Web Hosting

You shall be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all web hosting solutions which we provide, so as soon as you log in to the Hepsia CP 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 be displayed, you may pick the kind of error page which should show up - a default one from our system, a typical Apache server page or a custom one. For the latter alternative, you must specify the URL to the page, so if you use personalized pages, you must upload the files inside your website hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting which we supply support tailor-made error pages and it will not take more than a few clicks inside your Hepsia web hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel where you'll have to input the links to the custom-made files through very simple drop-down menus and an easy to use interface. Keep in mind, you have to upload them inside your account before that. If you don't want to use this function at some point, you will be able to deactivate it just as quickly 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 like to, you can also use an .htaccess file to activate the personalized error pages. The file should have a particular line of code and a link for every error type and you can discover an example of the entire content for all four error types in our Help section.