If a specific page on a site does not load for some reason or in case a link is not functioning, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave the site. A potential solution in cases like this is a feature offered by some web hosting service providers - the ability to set up your own custom-made error pages that will have the same design and style as your site and which may contain any images or text which you want based on the specific error. There are 4 standard errors which could occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, in case 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 see a specific page; and 404, when a link that you've clicked leads to a file that does not exist. In all of these scenarios, site visitors will be able to see your custom made content instead of a generic error page.
Custom Error Pages in Web Hosting
The custom error pages function is provided with every web hosting package deal which we offer and you will be able to substitute all of the generic pages with your own with no more than a couple of clicks in your Hepsia website hosting Control Panel. You'll have to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every Internet site hosted inside the account independently, so that every group of custom made pages will have identical design as the website it's part of. When necessary, you can always go back to a default page from our system or to a default Apache server page. Another way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the necessary program code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting that we offer support tailor-made error pages and it will not take more than several clicks in your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel where you'll need to type in the links to the custom-made files through basic drop-down menus and an easy to use interface. Of course, you need to upload them to your account before that. If you don't need to employ this feature at some point, you can easily disable it just as easily and pick an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to permit the customized error pages. The file needs to include a specific line of code and a link for every single error type and you can easily discover an example of the entire content for all four error types in our Help section.