If you have browsed lots of websites, you've probably come across some error message now and again. An error may take place when the web hosting server cannot process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you are not permitted to access a page (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Encountering this type of messages could sometimes be frustrating since the pages have absolutely nothing in common with the actual site. That’s why some hosting companies allow you to apply your own error pages that'll match the style of your own website and that could have any content that you'd like - details why the error has taken place, a suggestion how to proceed or even some amusing comment. This kind of feature shall help you keep the visitor on the website irrespective of the error and the reason for it.
Custom Error Pages in Cloud Hosting
The personalized error pages function is provided with every cloud hosting package which we offer and you shall be able to swap all of the generic pages with your own with no more than a few clicks inside your Hepsia website hosting CP. You will have to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You can do this for each site hosted in the account separately, so that each set of custom pages shall have the very same layout as the site it's part of. If required, you may always return back to a default page from our system or to the default Apache server page. One other way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you never done this before, you can simply copy the needed code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated hosting support personalized error pages, thus you'll be able to employ this feature for any domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to input the link to the custom file. You can do this individually for each error type. You will be able to switch back to a standard error page whenever you want if needed and the change will take effect instantly. An alternative way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder of the website that you want to change and to input a couple of lines of program code in it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or prior experience.