If a particular page on a site doesn't load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, that could make the visitor leave the website. A possible solution in cases like this is a feature made available from some hosting service providers - the ability to set up your own custom error pages which will have identical design and style as your website and that could contain any text or images which you want depending on the specific error. There are 4 standard errors which can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have a permission to see a certain page; and 404, if a link which you've clicked leads to a file that does not exist. In any of these cases, website visitors will be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Web Hosting

The customized error pages function is available with every single cloud web hosting package deal that we offer and you'll be able to replace all generic pages with your own with no more than a few clicks from your Hepsia hosting CP. You shall need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can do this for every single website hosted in the account individually, so that each group of customized pages will have the same style and design as the site it's part of. If required, you can always go back to a default page from our system or to a default Apache server page. An alternate way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include 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 Servers

Incorporating your personal pages for each of the four error types to any Internet site hosted from a semi-dedicated server account with us shall be very uncomplicated and won't take more than a couple of clicks. When you upload the files inside your account, you can go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You can select what page should appear for every single error type. The options are a default Apache server page or a page from our system, and custom made pages. In case you select the abovementioned option, you need to type in the link to each and every page in your account, then save the change. The link or the sort of page that will appear if a user encounters an error can be modified whenever you want. In case you’re more experienced, you can use an .htaccess file to be able to set personalized error pages too, as an alternative to using our integrated generator tool, and should you choose this option, the file should be located inside the root directory of a given domain or subdomain.