If a specific page on an Internet site doesn't load for some reason or in case a link is not functioning, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave the website. A potential solution in cases like this is a function offered by some website hosting companies - the ability to set your own customized error pages which will have the same style and design as your site and which can contain any text or images that you would like 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 hosting server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, when a link that you have clicked leads to a file which doesn't exist. In all of these cases, website visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

You'll be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all shared web hosting package which we offer, so after you log in to your 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 could select the kind of error page that should show up - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned option, you have to specify the URL to the page, so when you use custom pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each error type. The exact syntax can be found 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

Including your own pages for any of the 4 error types to any website hosted through a semi-dedicated server account with us will be very easy and won't take more than a couple of clicks. When you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could choose what page should display for each error type. Your options are a standard Apache web server page or a page from our system, and tailor-made pages. If you pick the aforementioned option, you will need to enter the link to each and every page inside your account, then save the change. The link or the type of page that will appear if a user encounters an error can be modified anytime. If you are more experienced, you can use an .htaccess file to set customized error pages as well, instead of using our integrated generator tool, and in case you select this option, the file has to be positioned in the root directory of a particular domain or subdomain.