Custom Error Pages
Find out what a Custom Error Page is, what function does it have and how to create one.
If you have checked out loads of websites, you have probably stumbled upon some error message from time to time. An error may occur in case the web server can't process a request (Error 400), if you need to log in so that you can see some content and you haven't done so (Error 401), if you aren't allowed to access a webpage (Error 403) or when a link leads to a file that isn't on the hosting server (Error 404). Getting such messages may sometimes be irritating as the pages have nothing in common with the actual site. That’s why some website hosting providers allow you to set your own error pages which will match the design of your own Internet site and which may have any content that you would like - info why the error has taken place, a suggestion what you can do or even some witty comment. This sort of function can help you keep the visitor on the site no matter the error or the reason for it.
Custom Error Pages in Web Hosting
The custom made error pages function is available with every web hosting
package that we offer and you will be able to substitute all the generic pages with your own with no more than several mouse clicks in your Hepsia website hosting Control Panel. You shall need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia CP. You can do this for each website hosted in the account separately, so that each set of personalized pages will have the very same design and style as the Internet site it's part of. When necessary, you could always return back to a default page from our system or to a default Apache server page. Another way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you never done this before, you could simply copy the necessary program code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
All semi-dedicated servers
that we supply support customized error pages and it will not take more than a few mouse clicks from your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP where you will have to enter the links to the custom-made files through basic drop-down menus and an easy to use interface. Keep in mind, you must upload them in your account before that. In case you don't need to employ this function at some point, you can disable it just as fast and pick an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you prefer, you may also use an .htaccess file to activate the custom error pages. The file should contain a particular line of code and a link for every single error type and you can discover an example of the entire content for all four error types in our Help section.