If you have looked at many Internet sites, you've probably stumbled upon some error message from time to time. An error could occur if the hosting server can't process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you are not permitted to access a page (Error 403) or if a link leads to a file that isn't on the web server (Error 404). Encountering such messages may often be irritating since the pages don't have anything in common with the actual website. That’s why some hosting providers permit you to use your own error pages which will match the style of your own Internet site and which may have any content which you would like - info why the error has taken place, a suggestion what you can do or even some amusing remark. Such a feature will help you keep the visitor on the site whatever the error and the reason for it.

Custom Error Pages in Shared Website Hosting

You will be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared website hosting plans that we provide, so as soon as you log in to your Hepsia CP and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you can choose the type of error page which should show up - a default one from our system, a typical Apache web server page or a personalized one. For the latter alternative, you'll have to assign the URL to the page, so if you use custom pages, you need to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The exact syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support customized error pages, so you shall be able to employ this feature for each and every domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and to type in the link to the custom file. You could do this independently for every error type. You shall be able to switch back to a generic error page anytime if necessary and the change shall take effect at once. Another way to achieve the same result is to put an .htaccess file in the domain or subdomain folder associated with the website that you want to modify and to enter a few lines of code inside it. If you would like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any coding skills or previous experience.