If you have browsed loads of Internet sites, you have probably come across some error message from time to time. An error may occur in case the website hosting server cannot process a request (Error 400), if you must log in to see some content and you have not done so (Error 401), if you aren't permitted to access a page (Error 403) or when a link leads to a file which isn't on the website hosting server (Error 404). Receiving this kind of messages may often be frustrating as the pages have nothing in common with the actual site. That’s why some hosting providers allow you to apply your own error pages which will match the style of your own Internet site and which may have any content which you want - details why the error has appeared, a suggestion what you can do or even some humorous remark. This type of function shall help you keep the visitor on the website no matter the error or the reason for it.

Custom Error Pages in Shared Website Hosting

You can set up customized error pages for all of your domains or subdomains. The function is supported by all shared website hosting package that we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you may pick the sort of error page that should appear - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you have to assign the URL to the page, so if you use customized pages, you should upload the files in your hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be found in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated plans support tailor-made error pages, so you shall be able to use this feature for any 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 the Edit button related to the given domain/subdomain and then to type the link to the custom-made file. You are able to do this separately for each error type. You will be able to switch back to a generic error page whenever you want if required and the change will take effect straightaway. A different way to get the same exact result is to set an .htaccess file in the domain or subdomain folder of the Internet site that you'd like to modify and to type in a few lines of program code inside it. If you need to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, thus you shall not need any coding skills or previous experience.