Custom Error Pages
Find out what a Custom Error Page is, what function does it serve and ways to make one.
If you have looked at loads of sites, you've probably encountered some error message every now and then. An error can take place if the server cannot process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not able to access a webpage (Error 403) or if a link leads to a file that is not on the web server (Error 404). Receiving such messages can often be irritating since the pages have absolutely nothing in common with the actual website. 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 may have any content which you'd like - details why the error has taken place, a suggestion how to proceed or even some witty remark. Such a function will help you keep the visitor on the website whatever the error and the reason for it.
-
Custom Error Pages in Website Hosting
You will be able to set up custom error pages for each of your domains or subdomains. The feature is supported by all
website hosting plans which we provide, so after you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could choose the type of error page that should appear - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned alternative, you must assign the URL to the page, so when you use personalized pages, you must upload the files in your website hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The precise syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
All of the
Linux semi-dedicated hosting which we supply support tailor-made error pages and it shall not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP in which you'll have to enter the links to the custom-made files via simple drop-down menus and an easy to use interface. Needless to say, you have to upload them in your account before that. If you don't want to use this feature at some point, you can deactivate it just as easily and pick an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you prefer, you may also use an .htaccess file to activate the custom error pages. The file needs to include a specific line of code as well as a link for each error type and you can find an example of the entire content for all four error types in our Help section.