If a certain page on a site doesn't load for some reason or if a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your Internet site. A possible solution in such a case is a function made available from some web hosting providers - the ability to set your own custom error pages which will have identical style and design as your Internet site and which may contain any text or images you want dependent upon the specific error. There are 4 popular errors which could take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link which you've clicked leads to a file which does not exist. In any of these scenarios, visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Hosting

The custom made error pages function is provided with every single hosting package deal which we offer and you'll be able to replace the generic pages with your own with no more than a couple of clicks in your Hepsia hosting Control Panel. You will need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for each and every site hosted inside the account independently, so that each set of custom pages will have the same design and style as the Internet site it's part of. When necessary, you can always go back to a default page from our system or to the 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 never done this before, you could simply copy the needed code from our Help article about this.

Custom Error Pages in Semi-dedicated Servers

When you host your Internet sites in a semi-dedicated server account from us, you'll be able to set personalized error pages for any of them easily using our custom Hepsia hosting Control Panel. With just several clicks in the Hosted Domains section, you'll be able to modify the default setting from a system page to a custom made one for each of the four error types. All you should do is provide a link to every file which you have uploaded before that and then save the change. If required, you'll be able to revert this change at any time and in exactly the same way. If you prefer, you could use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder linked to the internet site whose error pages you would like to modify and the content for this type of file can be found in our Help article on this matter.