Custom Error Pages
Take a plunge into website error pages. Learn when they appear and why you need to create your own custom error pages.
If a specific page on a site does not load for some reason or in case a link is broken, the 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 could make the visitor leave your website. A solution in this case is a function made available from some hosting service providers - the ability to set up your own personalized error pages that will have the same design and style as your site and which can contain any text or images that you'd like depending on the particular error. There are 4 standard errors that can occur and they involve these particular so-called HTTP status codes - 400, when your Internet 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 some web page, but you have not done this yet; 403, if you don't have a permission to see a specific page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In all of these scenarios, visitors shall be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
The personalized error pages feature is provided with every single cloud hosting
package we offer and you will be able to replace all generic pages with your own with no more than a few clicks inside your Hepsia website hosting Control Panel. You shall have to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each and every Internet site hosted in the account independently, so that each group of custom made pages shall have the same style and design as the website it's part of. If required, you may always return back to a default page from our system or to a default Apache server page. A different way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you may simply copy the needed code from our Help article about this.
Custom Error Pages in Semi-dedicated Hosting
If you host your web sites in a semi-dedicated server
account from us, you may set customized error pages for each of them effortlessly via our in-house made Hepsia hosting CP. With just several clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a custom one for any of the four error types. All you must do is provide a link to every file which you have uploaded before that and then save the change. If necessary, you shall be able to revert this customization anytime and in exactly the same way. If you want, 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 want to alter and the content for this sort of file can be found in our Help article on this matter.