If you have looked at many Internet sites, you've probably come across some error message from time to time. An error may occur in case the web server can't process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you are not permitted to access some webpage (Error 403) or if a link leads to a file that isn't on the hosting server (Error 404). Encountering such messages can often be irritating as the pages don't have anything in common with the actual Internet site. That’s why some hosting service providers allow you to set your own error pages which will match the layout of your own Internet site and that may have any content which you would like - information why the error has appeared, a suggestion how to proceed or even some amusing comment. This kind of feature can help you keep the visitor on the website regardless of the error or the reason for it.

Custom Error Pages in Shared Website Hosting

You'll be able to set up custom error pages for all of your domains or subdomains. The function is supported by all shared website hosting package that we provide, so as soon as you log in to the Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may select the sort of error page which should appear - a default one from our system, a typical Apache web server page or a customized one. For the aforementioned option, you will need to specify the URL to the page, so when you use custom pages, you have to upload the files in your hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of the semi-dedicated plans which we offer support tailor-made error pages and it shall not take more than a few mouse clicks inside your Hepsia web hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files via very simple drop-down menus and a time and effort saving interface. Of course, you have to upload them in your account before that. If you don't need to use this feature at some point, you could disable it just as easily and select an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to activate the custom error pages. The file needs to have a specific line of code as well as a link for each error type and you can discover an example of the entire content for all four error types in our Help section.