Custom Error Pages
Get familiar with website error pages. Find out when they show up and why you need to configure your own custom error pages.
If a specific page on a site doesn't load for some reason or in case a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave your Internet site. A possible solution in this case is a function offered by some hosting providers - the option to set your own customized error pages which shall have identical design as your Internet site and that can contain any images or text which you want dependent upon the particular error. There are four standard errors which may take place and they involve the following so-called HTTP status codes - 400, when your web 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 webpage, but you have not done so yet; 403, if you don't have an authorization to see a particular page; and 404, if a link which you've clicked leads to a file which does not exist. In each of these cases, website visitors will be able to see your custom made content instead of a generic error page.
-
Custom Error Pages in Shared Hosting
The custom error pages feature is provided with each and every
shared hosting package that we offer and you shall be able to substitute all of the generic pages with your own with no more than a few mouse clicks from your Hepsia website hosting Control Panel. 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 from the Hosted Domains section of the Hepsia CP. You can do this for every single Internet site hosted in the account separately, so that each group of personalized pages shall have the very same layout as the website it is part of. If needed, you can always return back to a default page from our system or to the default Apache server page. One other 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 never done this before, you can simply copy the required code from our Help article on the subject.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a
semi-dedicated server account from us, you could set personalized error pages for each of them easily using our in-house built Hepsia hosting CP. With only several clicks inside the Hosted Domains section, you can edit the default setting from a system page to a custom one for each of the four error types. All you should do is provide a link to every single file you have uploaded before that and then save the change. If necessary, you will be able to revert this modification anytime and in exactly the same way. If you'd like, you could use an .htaccess file too. It should be created/uploaded within the domain or subdomain folder belonging to the site whose error pages you would like to alter and the content for such a file can be found in our Help article on this matter.