If a particular page on an Internet site doesn't load for some reason or if a link is broken, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your site. A solution in cases like this is a function offered by some website hosting providers - the ability to set up your own personalized error pages that will have identical style and design as your website and which could contain any images or text that you'd like based on the specific error. There are four standard errors which may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some page, but you have not done so yet; 403, if you do not have a permission to view a particular page; and 404, if a link that you have clicked leads to a file that doesn't exist. In all of these scenarios, site visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Website Hosting

You'll be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all website hosting solutions which we provide, so as soon as you log in to your Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will appear, you may pick the kind of error page that should show up - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you have to assign the URL to the page, so when you use custom made pages, you need to upload the files inside your hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The exact 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 Hosting

Adding your pages for each of the 4 error types to any site hosted inside a semi-dedicated server account with us shall be very easy and won't take more than a few clicks. When you upload the files inside your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may pick what page should appear for each and every error type. The alternatives are a standard Apache server page or a page from our system, and personalized pages. In case you choose the aforementioned option, you need to type in the link to each page inside your account, then save the change. The link or the kind of page that will be shown when a user encounters an error can be changed at any time. If you are more experienced, you could use an .htaccess file to be able to set in-house made error pages too, rather than using our integrated generator software instrument, and should you pick this option, the file needs to be positioned inside the root directory of a specific domain or subdomain.