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

Custom Error Pages in Cloud Website Hosting

You can set up personalized error pages for any of your domains or subdomains. The function is supported by all cloud website hosting plans that we provide, so as soon as 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 that will be displayed, you may select the type of error page that should show up - a default one from our system, a conventional Apache server page or a customized one. For the latter alternative, you'll have to specify the URL to the page, so if you use custom pages, you need to upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned inside 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 you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Incorporating your personal pages for each of the 4 error types to any web site hosted in a semi-dedicated server account with us shall be very easy and won't take more than a couple of mouse clicks. After you upload the files inside your account, you could navigate to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could pick what page should show up for each error type. Your choices are a standard Apache server page or a page from our system, and custom pages. In case you choose the last option, you will need to enter the link to each and every page in your account, then save the change. The link or the kind of page that will be displayed if 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 tailor-made error pages too, as an alternative to using our integrated generator software instrument, and if you pick this option, the file should be placed in the root directory of a specific domain or subdomain.