If you have browsed a lot of Internet sites, you have probably come across some error message now and again. An error could occur when the web server can't process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you aren't allowed to access some webpage (Error 403) or when a link leads to a file that isn't on the hosting server (Error 404). Encountering this type of messages can sometimes be aggravating because the pages have absolutely nothing in common with the actual site. That’s why some website hosting companies permit you to apply your own error pages that'll match the layout of your own website and which can have any content that you'd like - details why the error has taken place, a suggestion what you can do or even some funny comment. This sort of function will help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Shared Website Hosting

When you acquire a shared website hosting from us, you'll be able to set custom error pages for your websites quickly and easily, because this function is a part of all of our plans. As soon as you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will be displayed, you will see drop-down menus for all four kinds of errors and for each of them you may select an Apache default page, a generic page from our system or a custom page. Should you select the third option, you should just input the URL to the file that you have uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. In case you don't have previous experience or if you are simply uncertain how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support custom error pages, so you'll be able to use this feature for each domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and to enter the link to the custom file. You can do this independently for each error type. You will be able to switch back to a generic error page anytime if necessary and the change will take effect at once. An alternative way to achieve the same exact result is to put an .htaccess file inside the domain or subdomain folder associated with the website that you'd like to edit and to input several lines of program code in it. If you want to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or previous experience.