If a certain page on a website doesn't load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A potential solution in cases like this is a feature made available from some web hosting service providers - the ability to set your own customized error pages that shall have exactly the same style and design as your Internet site and that can contain any text or images that you'd like depending on the specific error. There are 4 common errors that can take place and they involve these particular 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're supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have an authorization to view a particular page; and 404, when a link that you've clicked leads to a file that doesn't exist. In any of these scenarios, visitors shall be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Hosting
The personalized error pages feature is provided with each shared hosting package which we offer and you'll be able to swap all the generic pages with your own with no more than a couple of clicks in your Hepsia hosting CP. You will need to develop the actual files and to upload them to your account, then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can do this for each site hosted in the account independently, so that each set of custom made pages shall have the very same style and design as the site it's part of. If necessary, you may always return back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the necessary program code from our Help article about the subject.