If you have browsed a lot of Internet sites, you've probably encountered some error message from time to time. An error could occur when the web hosting server can't process a request (Error 400), if you have to log in in order to see some content and you have not done so (Error 401), if you aren't permitted to access a page (Error 403) or if a link leads to a file which is not on the hosting server (Error 404). Encountering this sort of messages may often be annoying because the pages have nothing in common with the actual site. That’s why some website hosting companies allow you to apply your own error pages which will match the style of your own website and which could have any content that you'd like - info why the error has occurred, a suggestion how to handle it or even some amusing remark. This sort of feature can help you keep the visitor on the website irrespective of the error and the reason for it.

Custom Error Pages in Web Hosting

When you get a Linux web hosting package from our company, you'll be able to set personalized error pages for your Internet sites easily, as this function is a part of all of our packages. After you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will show up, you will see drop-down menus for all four sorts of errors and for each of them you can select an Apache default page, a generic page from our system or a tailor-made page. In case you pick the third option, you should just enter the URL to the file you have uploaded then save the change. A different way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you do not have prior experience or if you are just unsure how to do this, you can simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of our Linux semi-dedicated hosting packages support custom error pages, so you'll be able to employ this feature for any domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to input the link to the custom-made file. You are able to do this independently for each and every error type. You will be able to switch back to a standard error page at any time if needed and the change shall take effect straightaway. An alternative way to get the very same result is to set an .htaccess file in the domain or subdomain folder of the website that you want to modify and to input several lines of program code in it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, thus you will not need any programming skills or prior experience.