If you have browsed many websites, you've probably come across some error message once in a while. An error could take place if the server cannot process a request (Error 400), if you need to log in so that you can see some content and you haven't done so (Error 401), if you aren't permitted to access some webpage (Error 403) or if a link leads to a file that is not on the website hosting server (Error 404). Receiving this sort of messages may often be annoying as the pages have nothing in common with the actual site. That’s why some web hosting companies allow you to apply your own error pages which will match the layout of your own site and which could have any content that you want - information why the error has appeared, a suggestion how to handle it or even some funny comment. Such a function can help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Web Hosting
You can set up personalized error pages for any of your domains or subdomains. The function is supported by all web hosting package that we provide, so when you log in to the Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could choose the sort of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned alternative, you'll have to assign the URL to the page, so when you use personalized pages, you have to upload the files in your 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 precise syntax can be seen in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us will be very easy and will not take more than several clicks. Once you upload the files inside your account, you could 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 menus. You may select what page should show up for each and every error type. The choices are a standard Apache web server page or a page from our system, and tailor-made pages. Should you select the last option, you have to enter the link to every single page in your account, then save the change. The link or the sort of page which will be displayed if a user encounters an error can be changed anytime. If you are more experienced, you can use an .htaccess file in order to set customized error pages as well, instead of using our integrated generator instrument, and if you choose this option, the file should be positioned inside the root directory of a specific domain or subdomain.