Custom Error Pages
Learn what a Custom Error Page is, what role does it serve and how to create one.
If a certain page on a website does not load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave the site. A possible solution in cases like this is a feature offered by some website hosting companies - the ability to set up your own personalized error pages which shall have the same layout as your Internet site and that could contain any text or images that you'd like based on the specific error. There are 4 standard errors which could take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a page, but you have not done so yet; 403, if you don't have a permission to see a certain page; and 404, when a link that you've clicked leads to a file which does not exist. In each of these cases, site visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Web Hosting
The customized error pages function is provided with every single web hosting package deal that we offer and you will be able to swap all the generic pages with your own with no more than several mouse clicks from your Hepsia hosting Control Panel. You will need to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia CP. You could do this for each and every web site hosted in the account independently, so that each set of custom made pages shall have the very same design as the site it is part of. When necessary, you can always revert back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you can simply copy the necessary code from our Help article on this subject.