Custom Error Pages
Find out what a Custom Error Page is, what role does it serve and how to set up one.
If you have looked at lots of Internet sites, you've probably stumbled upon some error message now and again. An error can occur when the web server can't process a request (Error 400), if you need to log in to see some content and you have not done so (Error 401), if you aren't allowed to access some webpage (Error 403) or when a link leads to a file which isn't on the server (Error 404). Getting this sort of messages could often be irritating since the pages have absolutely nothing in common with the actual website. That’s why some hosting providers allow you to apply your own error pages that'll match the style of your own website and that can have any content which you want - info why the error has taken place, a suggestion what you can do or even some funny comment. This type of function will help you keep the visitor on the website whatever the error or the reason for it.
-
Custom Error Pages in Shared Website Hosting
You'll be able to set up customized error pages for each of your domains or subdomains. The function is supported by all
shared website hosting plans which we offer, so as soon as you log in to the Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you could select the kind of error page which should show up - a default one from our system, a typical Apache web server page or a custom one. For the latter option, you will need to specify the URL to the page, so if you use custom made pages, you need to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, so you can use this feature even if you do not have any previous experience.
-
Custom Error Pages in Semi-dedicated Servers
When you host your Internet sites in a
semi-dedicated server account with our company, you may set custom made error pages for any of them with ease via our in-house made Hepsia hosting Control Panel. With just several mouse clicks inside the Hosted Domains section, you are able to edit the default setting from a system page to a tailor-made one for each of the four error types. All you must do is provide a link to each and every file that you've uploaded before that and then save the change. If required, you shall be able to revert this modification anytime and in exactly the same way. If you'd like, you may use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder associated with the site whose error pages you intend to modify and the content for such a file can be found in our Help article for this matter.