Custom Error Pages
Find out what a Custom Error Page is, what function does it have and ways to set one.
If you have browsed many sites, you've probably come across some error message every now and then. An error can occur in case the web server can't process a request (Error 400), if you have to log in so as to see some content and you have not done so (Error 401), if you are not permitted to access a page (Error 403) or if a link leads to a file that isn't on the server (Error 404). Getting this kind of messages could often be irritating since the pages don't have anything in common with the actual website. That’s why some hosting service providers allow you to set your own error pages that'll match the layout of your own website and which may have any content that you want - info why the error has taken place, a suggestion how to handle it or even some humorous remark. This kind of feature can help you keep the visitor on the website no matter the error and the reason for it.
Custom Error Pages in Website Hosting
The customized error pages feature is provided with every website hosting
plan that we offer and you'll be able to swap all generic pages with your own with no more than just a few clicks inside your Hepsia hosting CP. You'll 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 may do this for every site hosted inside the account independently, so that every group of custom pages will have the exact same design and style as the website it's part of. If necessary, you could always go back to a default page from our system or to the default Apache server page. A different way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you never done this before, you could simply copy the required program code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
When you host your sites in a semi-dedicated server
account with our company, you may set tailor-made error pages for each of them easily via our in-house developed Hepsia hosting CP. With a couple of clicks inside the Hosted Domains section, you can modify the default setting from a system page to a customized one for any of the 4 error types. All you should do is supply a link to every single file you have uploaded before that and then save the change. If required, you'll be able to revert this modification anytime and in exactly the same way. If you'd like, you could use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder linked to the site whose error pages you would want to change and the content for this kind of file can be found in our Help article for this matter.