If you have looked at many sites, you have probably come across some error message from time to time. An error could take place if the hosting server can't process a request (Error 400), if you need to log in so as to 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 isn't on the website hosting server (Error 404). Encountering this type of messages could sometimes be aggravating because the pages don't have anything in common with the actual site. That’s why some hosting providers permit you to use your own error pages that'll match the layout of your own site and which could have any content that you want - details why the error has appeared, a suggestion how to handle it or even some humorous comment. This sort of function will help you keep the visitor on the website irrespective of the error and the reason for it.

Custom Error Pages in Web Hosting

You can set up custom error pages for any of your domains or subdomains. The function is supported by all web hosting solutions which we provide, so once you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you may pick the kind of error page that should show up - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so when you use personalized pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The precise 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

All semi-dedicated servers which we offer support customized error pages and it will not take more than a few clicks in your Hepsia website hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP in which you'll need to input the links to the custom-made files through simple drop-down menus and an easy to work with interface. Needless to say, you need to upload them to your account before that. If you do not want to use this function at some point, you can deactivate it just as fast and select an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to enable the custom made error pages. The file needs to contain a particular line of code as well as a link for every error type and you can find an example of the whole content for all four error types in our Help section.