If you have looked at a lot of sites, you have probably encountered some error message every now and then. An error could occur if the 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 aren't permitted to access some page (Error 403) or when a link leads to a file that is not on the web server (Error 404). Receiving this kind of messages can sometimes be frustrating because the pages have absolutely nothing in common with the actual Internet site. That’s why some hosting providers allow you to set your own error pages which will match the design of your own Internet site and that can have any content that you'd like - information why the error has taken place, a suggestion how to handle it or even some humorous comment. This sort of feature shall help you keep the visitor on the site regardless of the error or the reason for it.
Custom Error Pages in Shared Hosting
The custom error pages feature is provided with each shared hosting package deal which we offer and you will be able to swap all the generic pages with your own with no more than a few mouse clicks from your Hepsia website hosting Control Panel. You'll have to develop the actual files and to upload them to your account, then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia CP. You can do this for each web site hosted in the account independently, so that each group of customized pages shall have the very same design as the website it's part of. If required, you could always return back to a default page from our system or to the 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 never done this before, you could simply copy the necessary program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
All our Linux semi-dedicated hosting plans support personalized error pages, thus you'll be able to employ this function for any 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 on the Edit button associated with the specific domain/subdomain and then to enter the link to the custom file. You could do this independently for each and every error type. You shall be able to switch back to a generic error page at any time if needed and the change shall take effect straightaway. A different way to achieve the very same result is to place an .htaccess file in the domain or subdomain folder of the web site which you would like to edit and to enter a couple of lines of code within it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any programming skills or prior experience.