If a particular page on a website doesn't load for some reason or if a link is not working, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your website. A solution in cases like this is a feature offered by some hosting providers - the option to set up your own personalized error pages that will have the exact same style and design as your website and that may contain any text or images you want depending on the particular error. There are four standard errors that may take place and they involve the following so-called HTTP status codes - 400, when your 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 a web page, but you have not done so yet; 403, if you do not have a permission to view a specific page; and 404, if a link that you have clicked leads to a file that doesn't exist. In any of these scenarios, site visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Hosting

You'll be able to set up custom error pages for each of your domains or subdomains. The function is supported by all hosting solutions that we provide, so as soon as you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you may pick the sort of error page that should show up - a default one from our system, a typical Apache server page or a customized one. For the aforementioned option, you need to specify the URL to the page, so when you use customized pages, you should upload the files inside your web hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be located in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the four error types to any website hosted inside a semi-dedicated server account with us shall be very easy and shall not take more than several clicks. Once you upload the files in your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You may choose what page should show up for every error type. The options are a standard Apache server page or a page from our system, and custom pages. If you pick the last option, you will need to enter the link to each and every page inside your account, then save the change. The link or the kind of page which will be displayed in case a user encounters an error can be changed whenever you want. In case you are more experienced, you can use an .htaccess file in order to set in-house made error pages too, rather than using our integrated generator software instrument, and if you select this option, the file should be positioned in the root directory of a specific domain or subdomain.