If you have looked at loads of websites, you have probably stumbled upon some error message from time to time. An error can take place when the website hosting server can't process a request (Error 400), if you have to log in to see some content and you haven't done so (Error 401), if you aren't able to access a webpage (Error 403) or when a link leads to a file that is not on the web server (Error 404). Encountering this sort of messages could sometimes be annoying since the pages don't have anything in common with the actual website. That’s why some web hosting providers permit you to apply your own error pages that'll match the layout of your own site and which could have any content which you want - details why the error has taken place, a suggestion how to handle it or even some funny remark. This kind of function shall help you keep the visitor on the site regardless of the error or the reason for it.

Custom Error Pages in Website Hosting

You can set up custom made error pages for any of your domains or subdomains. The function is supported by all website hosting solutions which we provide, so when you log in to your Hepsia CP and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may choose the kind of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the aforementioned alternative, you must assign the URL to the page, so when you use personalized pages, you should upload the files inside your website hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated servers support customized error pages, thus you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and then to input the link to the custom file. You are able to do this individually for each error type. You'll be able to switch back to a generic error page whenever you want if needed and the change shall take effect immediately. A different way to get the very same result is to put an .htaccess file in the domain or subdomain folder related to the website that you'd like to modify and to input a couple of lines of program code within it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you won't need any computer programming skills or prior experience.