If a particular page on an Internet site does not load for some reason or in case a link is not working, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave your site. A likely solution in such a case is a feature offered by some web hosting service providers - the ability to set your own custom error pages which shall have the same style and design as your site and that can contain any text or images that you'd like based on the specific error. There are four common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot 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 a permission to view a particular page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In any of these cases, site visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

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

Custom Error Pages in Semi-dedicated Hosting

Adding your personal pages for any of the 4 error types to any web site hosted in a semi-dedicated server account with us will be very uncomplicated and won't take more than a couple of mouse clicks. Once you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may select what page should show up for every error type. Your options are a standard Apache web server page or a page from our system, and custom pages. Should you choose the abovementioned option, you must input the link to every single page inside your account, then save the change. The link or the sort of page which will be shown in case a user encounters an error can be modified at any time. If you are more experienced, you may use an .htaccess file to set personalized error pages too, as opposed to using our integrated generator instrument, and should you select this option, the file needs to be placed inside the root directory of a specific domain or subdomain.