Custom Error Pages
Find out what a Custom Error Page is, what function does it have and ways to make one.
If a specific page on a site doesn't load for some reason or in case a link is not working, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your site. A potential solution in cases like this is a feature offered by some website hosting companies - the option to set your own customized error pages which shall have exactly the same design as your site and that may contain any images or text you want depending on the specific error. There are four standard errors that may take place and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link which you have clicked leads to a file which does not exist. In all of these scenarios, site visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Shared Website Hosting
The personalized error pages function is provided with every single shared website hosting
package that we offer and you shall be able to swap all the generic pages with your own with no more than just a few mouse clicks inside your Hepsia website hosting CP. You shall have to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can do this for every single Internet site hosted in the account individually, so that each set of personalized pages shall have identical design and style as the site it's part of. If required, you could always go back to a default page from our system or to a default Apache server page. An alternate way to set customized 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 not done this before, you could simply copy the necessary program code from our Help article on the subject.