Custom Error Pages
Understand what a Custom Error Page is, what role does it serve and ways to set one.
If you have looked at lots of sites, you have probably encountered some error message now and again. An error may occur if the web server cannot process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you are not able to access a page (Error 403) or when a link leads to a file that isn't on the website hosting server (Error 404). Encountering this type of messages can often be aggravating since the pages have absolutely nothing in common with the actual website. That’s why some hosting service providers permit you to set your own error pages which will match the design of your own Internet site and that could have any content that you would like - details why the error has appeared, a suggestion how to proceed or even some funny comment. This type of feature will help you keep the visitor on the site whatever the error or the reason for it.
Custom Error Pages in Cloud Hosting
You'll be able to set up custom error pages for any of your domains or subdomains. The function is supported by all cloud hosting
package which we offer, so as soon as you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will appear, 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 customized one. For the aforementioned alternative, you need to specify the URL to the page, so if you use custom pages, you need to upload the files inside your website hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The correct syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting packages
that we offer support customized error pages and it will not take more than several mouse clicks inside your Hepsia website hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel where you'll have to input the links to the custom-made files using basic drop-down menus and an easy to work with interface. Of course, you need to upload them to your account before that. If you do not need to employ this feature at some point, you will be able to deactivate it just as quickly and select an Apache server page or a default page from our system to be viewable if 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 specific line of code plus a link for every single error type and you can find an example of the entire content for all four error types in our Help section.