If a certain page on a website does not load for some reason or if a link is not functioning, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave the website. A potential solution in cases like this is a feature offered by some website hosting companies - the option to set up your own personalized error pages that will have the same design and style as your Internet site and that may contain any images or text that you'd like dependent upon the particular error. There are four common errors that can occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In any of these situations, visitors shall be able to see your personalized content rather than a generic error page.

Custom Error Pages in Web Hosting

The personalized error pages feature is offered with each and every web hosting package deal which we offer and you shall be able to substitute all the generic pages with your own with no more than a couple of mouse clicks in your Hepsia website hosting Control Panel. You shall need to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can easily do this for every single website hosted inside the account separately, so that every group of personalized pages shall have the exact same style and design as the site it is part of. If required, you could always go back to a default page from our system or to the default Apache server page. An alternate way to set custom 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 not done this before, you can simply copy the required program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, so you will be able to employ this feature for every single domain or subdomain hosted in your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and then to enter the link to the custom file. You could do this independently for each error type. You'll be able to switch back to a standard error page at any time if necessary and the change will take effect instantly. Another way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder related to the Internet site that you'd like to modify and to input several lines of code inside it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you shall not need any computer programming skills or previous experience.