Custom Error Pages
Get familiar with website error pages. Discover when they appear and why you should create your own custom error pages.
If a particular page on an Internet site does not load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your Internet site. A solution in cases like this is a feature made available from some website hosting companies - the option to set up your own personalized error pages that shall have the same design and style as your site and which may contain any text or images that you'd like depending on the specific error. There are 4 common errors which can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you do not have a permission to view a specific page; and 404, when a link that you've clicked leads to a file which doesn't exist. In any of these cases, visitors shall be able to see your custom content instead of a generic error page.
Custom Error Pages in Hosting
The personalized error pages feature is available with every hosting
plan that we offer and you shall be able to substitute the generic pages with your own with no more than just a few clicks inside 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 given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for every site hosted inside the account independently, so that each set of custom made pages shall have the same layout as the Internet site it's part of. If needed, you could always return back to a default page from our system or to a default Apache server page. One other way to set customized 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 necessary program code from our Help article on this subject.