If a particular page on an Internet site doesn't load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that can make the visitor leave the site. A likely solution in cases like this is a function made available from some hosting providers - the ability to set up your own personalized error pages that shall have the same layout as your site and that can contain any images or text which you want dependent upon the specific error. There are 4 popular errors that 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 are supposed to log in to see some web page, but you have not done so yet; 403, if you do not have a permission to view a certain page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In all of these cases, website visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Shared Hosting
The custom error pages function is offered with every shared hosting package which we offer and you'll be able to swap the generic pages with your own with no more than several mouse clicks in your Hepsia website hosting CP. You'll need to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each Internet site hosted in the account independently, so that every group of custom pages shall have the exact same design and style as the Internet site it is part of. When necessary, you may always revert back to a default page from our system or to the default Apache server page. Another way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the necessary code from our Help article on this subject.