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

Custom Error Pages in Cloud Hosting

You will be able to set up customized error pages for each of your domains or subdomains. The function is supported by all cloud hosting solutions which we provide, so after you log in to the Hepsia Control Panel and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can choose the kind of error page which should show up - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned alternative, you need to assign the URL to the page, so if you use custom made pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, so you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your pages for each of the four error types to any Internet site hosted through a semi-dedicated server account with us shall be very basic and won't take more than a few mouse clicks. Once you upload the files to your account, you can check out 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 navigation. You may pick what page should appear for every error type. Your choices are a default Apache server page or a page from our system, and customized pages. If you pick the abovementioned option, you will need to type in the link to each page in your account, then save the change. The link or the kind of page that will be shown in case a user encounters an error can be modified whenever you want. In case you are more experienced, you could use an .htaccess file in order to set customized error pages as well, instead of using our integrated generator software instrument, and if you select this option, the file must be positioned in the root directory of a given domain or subdomain.