If you have looked at a lot of websites, you have probably stumbled upon some error message from time to time. An error may occur in case the website hosting server can't process a request (Error 400), if you need to log in to see some content and you have not done so (Error 401), if you aren't permitted to access some webpage (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Receiving such messages could often be annoying because the pages don't have anything in common with the actual site. That’s why some hosting companies permit you to apply your own error pages which will match the style of your own Internet site and that could have any content which you want - info why the error has occurred, a suggestion how to handle it or even some funny comment. This sort of function can help you keep the visitor on the website regardless of the error and the reason for it.

Custom Error Pages in Cloud Hosting

When you get a Linux cloud hosting service from our company, you shall be able to set customized error pages for your websites easily, because this feature is a part of all our solutions. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will appear, you shall see drop-down options menus for all 4 sorts of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom page. Should you pick the 3rd option, you should only input the URL to the file you have uploaded then save the change. A different way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have preceding experience or if you're just unsure how to do this, you could simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Including your pages for any of the four error types to any Internet site hosted in a semi-dedicated server account with us will be very uncomplicated and shall not take more than a few mouse clicks. Once you upload the files in your account, you could go to 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 may select what page should show up for every single error type. Your options are a default Apache web server page or a page from our system, and custom pages. In case you select the aforementioned option, you have to type in the link to each page inside your account, then save the change. The link or the type of page that will be shown if a user encounters an error can be modified at any time. If you're more experienced, you could use an .htaccess file so as to set customized error pages as well, as opposed to using our integrated generator tool, and should you pick this option, the file has to be located in the root directory of a specific domain or subdomain.