If you have checked out loads of websites, you have probably stumbled upon some error message once in a while. An error can occur when the server can't process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that isn't on the web server (Error 404). Getting this sort of messages could often be aggravating because the pages have absolutely nothing in common with the actual site. That’s why some web hosting service providers permit you to set your own error pages that'll match the layout of your own Internet site and which could have any content which you want - details why the error has occurred, a suggestion how to handle it or even some amusing remark. This type of function can help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Hosting

If you get a Linux hosting from our company, you will be able to set custom made error pages for your Internet sites easily and quickly, since this function is a part of all our packages. The moment you've created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down menus for all four types of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom page. If you choose the 3rd option, you should just input the URL to the file you have uploaded and save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you don't have previous experience or if you are just not sure how to do this, you can simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support custom error pages, so you will be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and then to input the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a standard error page at any time if needed and the change shall take effect right away. A different way to achieve the exact same result is to put an .htaccess file inside the domain or subdomain folder of the site that you would like to modify and to input a couple of lines of code inside it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any coding skills or prior experience.