If you have browsed loads of Internet sites, you have probably stumbled upon some error message now and again. An error could take place in case the hosting server cannot 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 are not permitted to access some webpage (Error 403) or when a link leads to a file which isn't on the server (Error 404). Getting this sort of messages could sometimes be annoying because the pages have nothing in common with the actual Internet site. That’s why some web hosting service providers allow you to apply your own error pages that will match the design of your own Internet site and that can have any content that you'd like - details why the error has occurred, a suggestion what you can do or even some funny comment. This type of feature can help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Website Hosting

When you get a Linux website hosting package from our company, you will be able to set custom error pages for your websites quickly and easily, since this feature is part of all our plans. As soon as you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you will see drop-down options menus for all 4 kinds of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom page. Should you choose the 3rd option, you should only type the URL to the file that you have uploaded then save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. If you do not have preceding experience or if you are simply unsure how to do this, you could just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support custom made error pages, so you'll be able to employ this feature for every single domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the specific domain/subdomain and to input the link to the custom file. You could do this individually for each error type. You shall be able to switch back to a standard error page anytime if needed and the change will take effect at once. An alternative way to get the very same result is to put an .htaccess file inside the domain or subdomain folder associated with the site that you'd like to modify and to type in several lines of code in it. If you'd like to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any coding skills or prior experience.