If you have browsed lots of websites, you have probably encountered some error message from time to time. An error can take place if the website hosting server can't process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not able to access a page (Error 403) or if a link leads to a file that isn't on the server (Error 404). Encountering such messages may often be frustrating because the pages have nothing in common with the actual Internet site. That’s why some web hosting companies allow you to apply your own error pages which will match the design of your own Internet site and that could have any content that you'd like - information why the error has taken place, a suggestion how to handle it or even some witty remark. This type of function shall help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Shared Hosting
The custom made error pages function is offered with every single shared hosting plan we offer and you will be able to replace the generic pages with your own with no more than a few clicks inside your Hepsia hosting Control Panel. You'll have to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for each and every web site hosted in the account separately, so that each set of customized pages will have identical layout as the website it's part of. When necessary, you may always revert back to a default page from our system or to the default Apache server page. A different way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you could simply copy the needed program code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated servers support custom made error pages, so you shall be able to employ this function for each domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and then to type in the link to the custom-made file. You can do this separately for each error type. You will be able to switch back to a standard error page anytime if required and the change shall take effect instantly. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder related to the website that you'd like to change and to enter a couple of lines of program code within it. If you would like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or prior experience.