If a specific page on a website doesn't load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave the site. A likely solution in this case is a feature made available from some hosting providers - the option to set up your own personalized error pages that will have exactly the same layout as your website and that can contain any images or text that you'd like dependent upon the particular error. There are four common errors that could take place and they involve these particular 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 a web page, 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 which you've clicked leads to a file which does not exist. In all of these situations, visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Cloud Web Hosting

You will be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all cloud web hosting solutions that we provide, so once you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you could choose the sort of error page which should appear - a default one from our system, a standard Apache server page or a customized one. For the aforementioned alternative, you have to assign the URL to the page, so if you use personalized pages, you should upload the files in your hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for any of the 4 error types to any web site hosted through a semi-dedicated server account with us will be really uncomplicated and shall not take more than a few clicks. After you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there using an intuitive interface with drop-down menus. You could choose what page should show up for every single error type. The alternatives are a default Apache web server page or a page from our system, and custom pages. Should you choose the last option, you must input the link to each and every page in your account, then save the change. The link or the sort of page that will be shown in case a user encounters an error can be modified whenever you want. If you are more experienced, you could use an .htaccess file so as to set personalized error pages too, as opposed to using our integrated generator software instrument, and should you choose this option, the file has to be located inside the root directory of a particular domain or subdomain.