If a certain page on an Internet site doesn't load for some reason or in case a link is broken, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave the website. A possible solution in cases like this is a function offered by some hosting service providers - the ability to set your own custom-made error pages that will have the same design and style as your Internet site and which may contain any text or images that you would like based on the specific error. There are 4 standard errors which can occur and they involve the following so-called HTTP status codes - 400, when your web 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 some webpage, but you haven't done so yet; 403, if you don't have a permission to see a specific page; and 404, if a link which you have clicked leads to a file which doesn't exist. In each of these situations, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Website Hosting

You'll be able to set up personalized error pages for each of your domains or subdomains. The feature is supported by all shared website hosting package which we provide, so when you log in to the Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you could choose the type of error page that should appear - a default one from our system, a conventional Apache web server page or a custom one. For the latter alternative, you'll have to assign the URL to the page, so if you use custom made pages, you should upload the files inside your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Adding your personal pages for any of the 4 error types to any web site hosted from a semi-dedicated server account with us will be very uncomplicated and shall not take more than a few clicks. Once you upload the files to your account, you can check out 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 pick what page should show up for every error type. The alternatives are a standard Apache web server page or a page from our system, and custom pages. In case you choose the abovementioned option, you have to type the link to every single page in your account, then save the change. The link or the kind of page that 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 customized error pages too, as an alternative to using our integrated generator software instrument, and should you choose this option, the file should be located in the root directory of a given domain or subdomain.