If a particular page on an Internet site doesn't load for some reason or if a link is not functioning, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave your website. A possible solution in such a case is a function made available from some hosting providers - the option to set up your own customized error pages that shall have the same style and design as your Internet site and that could contain any text or images that you'd like depending on the particular error. There are four well-known errors which can occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you have not done so yet; 403, if you don't have an authorization to see a specific page; and 404, in case a link which you've clicked leads to a file which does not exist. In each of these situations, visitors will be able to see your custom content instead of a generic error page.
Custom Error Pages in Shared Hosting
You shall be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all shared hosting solutions that we provide, so as soon as you log in to your Hepsia CP and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you can choose the sort of error page that should show up - a default one from our system, a conventional Apache web server page or a personalized one. For the last mentioned option, you'll have to specify the URL to the page, so when you use personalized pages, you should upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The exact syntax can be located in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for each of the 4 error types to any site hosted inside a semi-dedicated server account with us will be very easy and will not take more than a couple of clicks. After you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You could select what page should display for every single error type. Your options are a standard Apache web server page or a page from our system, and personalized pages. Should you pick the abovementioned option, you will need to type in the link to every page inside your account, then save the change. The link or the sort of page which appears if a user encounters an error can be changed at any time. In case you are more experienced, you may use an .htaccess file to be able to set in-house developed error pages as well, rather than using our integrated generator software tool, and in case you pick this option, the file has to be placed inside the root directory of a particular domain or subdomain.