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

Custom Error Pages in Shared Hosting

You shall be able to set up custom error pages for all of your domains or subdomains. The function is supported by all shared hosting package that we offer, so as soon as you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can pick the kind of error page which should appear - a default one from our system, a conventional Apache server page or a personalized one. For the last mentioned alternative, you must specify the URL to the page, so when you use customized pages, you must upload the files in your website hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The precise syntax can be seen in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for each of the four error types to any web site hosted from a semi-dedicated server account with us will be very easy and shall not take more than several clicks. Once you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can choose what page should show up for each error type. Your choices are a default Apache server page or a page from our system, and tailor-made pages. In case you choose the aforementioned option, you need to enter the link to each and every page inside your account, then save the change. The link or the sort of page that will be displayed if a user encounters an error can be changed whenever you want. If you're more experienced, you could use an .htaccess file in order to set customized error pages too, as opposed to using our integrated generator tool, and if you choose this option, the file has to be located in the root directory of a given domain or subdomain.