If you have looked at loads of websites, you have probably stumbled upon some error message every now and then. An error could occur when the server cannot process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or when a link leads to a file which isn't on the web server (Error 404). Receiving such messages can sometimes be annoying as the pages don't have anything in common with the actual website. That’s why some web hosting providers allow you to apply your own error pages that'll match the design of your own Internet site and that may have any content that you want - info why the error has appeared, a suggestion what you can do or even some humorous remark. This sort of feature can help you keep the visitor on the website regardless of the error or the reason for it.
Custom Error Pages in Shared Website Hosting
You shall be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all shared website hosting package which we provide, so once you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can pick the sort of error page that should show up - a default one from our system, a conventional Apache server page or a custom one. For the last mentioned option, you have to assign the URL to the page, so when you use custom made pages, you must upload the files in your web hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The correct syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated plans support customized error pages, so you'll be able to use this function for every single domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and then to type in the link to the custom-made file. You'll be able to do this individually for each and every error type. You shall be able to switch back to a generic error page whenever you want if needed and the change will take effect immediately. A different way to get the exact same result is to set an .htaccess file in the domain or subdomain folder of the site which you want to modify and to enter a couple of lines of program code inside it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or previous experience.