If you have browsed a lot of sites, you have probably stumbled upon some error message from time to time. An error may take place when the server cannot process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you are not allowed to access some webpage (Error 403) or when a link leads to a file that is not on the hosting server (Error 404). Getting this sort of messages could sometimes be irritating since the pages have nothing in common with the actual Internet site. That’s why some hosting service providers allow you to use your own error pages that will match the layout of your own site and which could have any content which you want - information why the error has taken place, a suggestion how to proceed or even some amusing comment. This sort of function can help you keep the visitor on the site no matter the error and the reason for it.

Custom Error Pages in Shared Web Hosting

You shall be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all shared web hosting solutions which we provide, so once you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could select the type of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the aforementioned alternative, you need to specify the URL to the page, so when you use customized pages, you must upload the files inside your web hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

When you host your sites in a semi-dedicated server account from our company, you may set custom error pages for each of them easily through our in-house built Hepsia hosting CP. With a few mouse clicks in the Hosted Domains section, you are able to change the default setting from a system page to a personalized one for any of the 4 error types. All you need to do is supply a link to each file which you have uploaded before that and then save the change. If needed, you will be able to revert this modification anytime and in exactly the same way. If you prefer, you can use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder belonging to the internet site whose error pages you want to modify and the content for this type of file can be found in our Help article about this matter.