If you have looked at lots of Internet sites, you have probably encountered some error message from time to time. An error could occur if the web hosting server cannot process a request (Error 400), if you must 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 isn't on the server (Error 404). Receiving such messages may often be irritating as the pages have absolutely nothing in common with the actual Internet site. That’s why some web hosting providers allow you to apply your own error pages which will match the layout of your own website and that can have any content which you would like - details why the error has taken place, a suggestion how to proceed or even some amusing comment. This kind of feature will help you keep the visitor on the website whatever the error or the reason for it.
Custom Error Pages in Shared Web Hosting
The custom error pages function is available with each shared web hosting package we offer and you shall be able to substitute all the generic pages with your own with no more than a couple of clicks from your Hepsia hosting CP. You will have to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for every site hosted inside the account independently, so that each group of custom pages shall have the same design and style as the site it's part of. If required, you may always go back to a default page from our system or to a default Apache server page. An alternate 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 have not done this before, you may simply copy the necessary program code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated packages support personalized error pages, so you'll be able to employ this feature for each and every domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to enter the link to the custom file. You can do this individually for each and every error type. You shall be able to switch back to a default error page at any time if needed and the change will take effect straightaway. A different way to achieve the exact 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 few lines of program code within it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or previous experience.