Custom Error Pages
Learn more about website error pages, when they appear and why you need to make use of customized error pages.
If you have checked out a lot of sites, you've probably stumbled upon some error message from time to time. An error may occur in case the server can't 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 allowed to access a page (Error 403) or when a link leads to a file which isn't on the hosting server (Error 404). Receiving this type of messages may often be aggravating since the pages have absolutely nothing in common with the actual site. That’s why some hosting companies allow you to apply your own error pages which will match the design of your own website and which can have any content that you'd like - details why the error has taken place, a suggestion how to handle it or even some funny remark. This type of feature shall help you keep the visitor on the site irrespective of the error and the reason for it.
-
Custom Error Pages in Website Hosting
You shall be able to set up custom made error pages for all of your domains or subdomains. The function is supported by all
website hosting plans which we offer, so after you log in to your 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 that will appear, you can select the kind of error page that should appear - a default one from our system, a conventional Apache server page or a customized one. For the latter alternative, you will need to specify the URL to the page, so when you use custom made pages, you should upload the files in your hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, so that you can use this function even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Servers
All of our
semi-dedicated plans support tailor-made error pages, so you'll be able to use this function for each and every domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to enter the link to the custom-made file. You can do this independently for each error type. You will be able to switch back to a generic error page at any time if necessary and the change shall take effect at once. Another way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder of the web site that you want to modify and to input a couple of lines of program code in it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or prior experience.