If you have looked at lots of websites, you've probably encountered some error message from time to time. An error could occur if the hosting server cannot process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you aren't permitted to access a page (Error 403) or when a link leads to a file which is not on the hosting server (Error 404). Receiving such messages may often be frustrating because the pages don't have anything in common with the actual website. That’s why some web hosting service providers permit you to apply your own error pages that will match the layout of your own site and that can have any content that you want - details why the error has taken place, a suggestion how to proceed or even some witty remark. This type of function can help you keep the visitor on the site no matter the error and the reason for it.

Custom Error Pages in Website Hosting

The customized error pages feature is offered with every website hosting package deal which we offer and you'll be able to replace all generic pages with your own with no more than a couple of clicks from your Hepsia hosting Control Panel. You shall need to produce the actual files and to upload them to your account, then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You can easily do this for every Internet site hosted inside the account separately, so that every set of custom made pages shall have the exact same style and design as the site it's part of. If necessary, you can always go back to a default page from our system or to the default Apache server page. One other way to set customized 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 can simply copy the needed code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated packages support tailor-made error pages, so you shall be able to use this feature for every single domain or subdomain hosted inside your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and then to type in the link to the custom file. You are able to do this independently for every error type. You'll be able to switch back to a default error page whenever you want if required and the change shall take effect instantly. A different way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder associated with the website that you want to edit 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 needed code from our Knowledge Base article on custom error pages, thus you will not need any computer programming skills or previous experience.