If you have checked out loads of sites, you've probably stumbled upon some error message every now and then. An error could take place when the server cannot 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 are not allowed to access some page (Error 403) or when a link leads to a file that is not on the hosting server (Error 404). Getting this type of messages may often be annoying because the pages have absolutely nothing in common with the actual site. That’s why some hosting service providers allow you to set your own error pages which will match the design of your own Internet site and that may have any content that you want - information why the error has taken place, a suggestion how to handle it or even some witty comment. This kind of function will help you keep the visitor on the website whatever the error or the reason for it.
Custom Error Pages in Website Hosting
You'll be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all website hosting solutions that we provide, so after you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the kind of error page that should show up - a default one from our system, a conventional Apache server page or a customized one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use personalized pages, you should upload the files inside your Internet hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be seen in our Knowledge Base, to help you use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated service support personalized error pages, so you will be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the given domain/subdomain and to type in the link to the custom-made file. You can do this independently for every error type. You shall be able to switch back to a default error page at any time if required and the change will take effect right away. Another way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you want to edit and to input several lines of code inside it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or previous experience.