Custom Error Pages
Learn more about website error pages, precisely when they show up and why should you make use of customized error pages.
If you have checked out loads of websites, you've probably stumbled upon some error message from time to time. An error could take place when the hosting server can't process a request (Error 400), if you need to log in in order to see some content and you have not done so (Error 401), if you are not able to access some page (Error 403) or when a link leads to a file which is not on the server (Error 404). Receiving this kind of messages could often be annoying as the pages have absolutely nothing in common with the actual Internet site. That’s why some website hosting service providers permit you to set your own error pages that will match the design of your own Internet site and which may have any content that you'd like - details why the error has occurred, a suggestion how to proceed or even some witty comment. This kind of function will help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Cloud Website Hosting
The custom made error pages feature is provided with every single cloud website hosting
package we offer and you will be able to swap all generic pages with your own with no more than just a few clicks from your Hepsia website hosting CP. You shall need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You can easily do this for each site hosted inside the account individually, so that each group of custom pages shall have identical design and style as the site it's part of. If necessary, you can always return back to a default page from our system or to the default Apache server page. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you may simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Hosting
All of our Linux semi-dedicated packages
support tailor-made error pages, thus you'll be able to use this function for every single domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and to type the link to the custom-made file. You are able to do this individually for each error type. You will be able to switch back to a generic error page whenever you want if required and the change shall take effect instantly. A different way to achieve the same exact result is to set an .htaccess file in the domain or subdomain folder related to the website which you'd like to change and to type in several lines of program code inside it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you'll not need any coding skills or prior experience.