If you have looked at a lot of websites, you've probably encountered some error message from time to time. An error can take place if the web server cannot process a request (Error 400), if you have to log in in order to see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Encountering this sort of messages could sometimes be annoying because the pages have nothing in common with the actual Internet site. That’s why some hosting service providers permit you to apply your own error pages which will match the design of your own website and which could have any content that you'd like - information why the error has occurred, a suggestion how to proceed or even some humorous remark. This sort of feature can help you keep the visitor on the website irrespective of the error or the reason for it.
Custom Error Pages in Website Hosting
You'll be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all website hosting plans that we offer, so as soon as you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you may choose the type of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the latter option, you'll have to specify the URL to the page, so when you use personalized pages, you must upload the files inside your Internet hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The correct syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated packages support tailor-made error pages, so you will be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and to type the link to the custom-made file. You can do this independently for each error type. You'll be able to switch back to a generic error page whenever you want if required and the change shall take effect at once. A different way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder associated with the site that you want to modify and to enter several lines of code inside it. If you want to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or previous experience.