If you have looked at many Internet sites, you have probably encountered some error message from time to time. An error can take place if the web hosting server cannot process a request (Error 400), if you have to log in to 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 server (Error 404). Encountering such messages could sometimes be irritating since the pages don't have anything in common with the actual website. That’s why some hosting service providers allow you to set your own error pages that will match the layout of your own Internet site and which can have any content which you would like - info why the error has appeared, a suggestion how to handle it or even some witty remark. This type of function shall help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Website Hosting

If you get a Linux website hosting plan from us, you'll be able to set custom made error pages for your sites quickly and easily, as this feature is part of all of our packages. The moment you've 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 specific domain or subdomain. Inside the pop-up which will appear, you'll see drop-down menus for all 4 sorts of errors and for each of them you could pick an Apache default page, a generic page from our system or a tailor-made page. Should you choose the 3rd option, you should only input the URL to the file which you have uploaded and save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. In case you don't have prior experience or if you're just unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Our Linux semi-dedicated plans support customized 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 this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and to type the link to the custom file. You could do this independently for each and every error type. You'll be able to switch back to a default error page whenever you want if needed and the change shall take effect straightaway. A different way to get the same result is to set an .htaccess file inside the domain or subdomain folder associated with the website that you would like to modify and to enter a couple of lines of 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, which means that you shall not need any programming skills or previous experience.