Custom Error Pages
Find out what a Custom Error Page is, what function does it have and the way to set up one.
If you have looked at lots of Internet sites, you've probably encountered some error message from time to time. An error may take place in case the web server cannot process a request (Error 400), if you must log in to see some content and you haven't done so (Error 401), if you are not permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Getting this type of messages may often be frustrating since the pages have absolutely nothing in common with the actual site. That’s why some hosting companies permit you to apply your own error pages which will match the layout of your own Internet site and that can have any content that you would like - info why the error has occurred, a suggestion how to handle it or even some funny remark. Such a feature shall help you keep the visitor on the website no matter the error and the reason for it.
-
Custom Error Pages in Web Hosting
You'll be able to set up custom made error pages for any of your domains or subdomains. The feature is supported by all
web hosting plans which we provide, so when you log in to the Hepsia CP and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the type of error page that should appear - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned option, you will need to specify the URL to the page, so if you use custom pages, you have to upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The correct syntax can be seen in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
All
semi-dedicated hosting packages which we provide support custom error pages and it will not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files through very simple drop-down menus and a user-friendly interface. Of course, you need to upload them inside your account before that. If you do not want to use this function at some point, you can easily deactivate it just as easily and choose an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you prefer, you can also use an .htaccess file to activate the customized error pages. The file needs to contain a particular line of code plus a link for each and every error type and you can discover an example of the entire content for all four error types in our Help section.