If a specific page on a website does not load for some reason or if 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 website, that could make the visitor leave your website. A potential solution in such a case is a function made available from some hosting service providers - the ability to set up your own personalized error pages which shall have the exact same style and design as your Internet site and which could contain any text or images you want depending on the specific error. There are 4 common errors which may take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, if a link that you have clicked leads to a file which does not exist. In all of these scenarios, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Web Hosting

The customized error pages feature is provided with every cloud web hosting package deal we offer and you'll be able to replace all of the generic pages with your own with no more than a couple of clicks in your Hepsia website hosting Control Panel. You'll need to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for every single site hosted inside the account individually, so that each group of custom pages shall have the exact same layout as the site it is part of. If required, you can always revert back to a default page from our system or to a default Apache server page. An alternate way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you may simply copy the required code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated packages that we offer support tailor-made error pages and it will not take more than several mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your Control Panel in which you'll have to type in the links to the custom-made files via basic drop-down menus and a user-friendly interface. Needless to say, you should upload them to your account before that. If you do not want to use this feature at some point, you can easily deactivate it just as quickly and choose an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to permit the personalized error pages. The file needs to contain a particular line of code as well as a link for every error type and you can find an example of the whole content for all four error types in our Help section.