If you have looked at a lot of sites, you have probably encountered some error message every now and then. An error may occur in case the website hosting server can't process a request (Error 400), if you have 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 webpage (Error 403) or when a link leads to a file that is not on the server (Error 404). Getting this sort of messages can sometimes be annoying as the pages have nothing in common with the actual Internet site. That’s why some hosting service providers permit you to set your own error pages which will match the design of your own site and which may have any content that you would like - details why the error has occurred, a suggestion what you can do or even some funny remark. This type 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 Hosting
The custom error pages function is provided with each shared hosting package that we offer and you will be able to substitute all generic pages with your own with no more than a few mouse clicks in your Hepsia website hosting CP. You will have to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for every single Internet site hosted in the account separately, so that every set of personalized pages will have identical style and design as the website it is part of. If necessary, you can always go back to a default page from our system or to a default Apache server page. Another way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the necessary program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated hosting packages support personalized error pages, so you'll be able to use this feature for each domain or subdomain hosted inside your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You can do this separately for each error type. You will be able to switch back to a standard error page at any time if needed and the change will take effect straightaway. An alternative way to achieve the exact same result is to place an .htaccess file inside the domain or subdomain folder related to the web site which you'd like to edit and to type in a couple of lines of program code in it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or prior experience.