If you have browsed loads of websites, you have probably come across some error message now and again. An error could take place in case the website hosting server can't process a request (Error 400), if you have to log in in order to see some content and you have not done so (Error 401), if you are not allowed to access some page (Error 403) or when a link leads to a file that isn't on the web server (Error 404). Encountering this kind of messages could often be irritating because the pages don't have anything in common with the actual website. That’s why some hosting providers permit you to apply your own error pages which will match the layout of your own site and that could have any content which you would like - information why the error has occurred, a suggestion how to handle it or even some witty remark. This sort of feature shall help you keep the visitor on the site no matter the error or the reason for it.
Custom Error Pages in Website Hosting
You can set up customized error pages for all of your sites without difficulty if you use any of our website hosting service
. This could be done through the Hosted Domains part of the Hepsia CP, which comes with all accounts and when you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You must upload the files to your account before you start and input the links to them during the process. This function can be de-activated whenever you want and the options you shall be able to to pick from are a standard page from our system or a default Apache server page. Customized error pages may be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it must contain some system code and links to the pages. If you are not tech-savvy, you may copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated hosting service
support tailor-made error pages, so you'll be able to employ this feature 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 CP, to click the Edit button linked to the given domain/subdomain and to type in the link to the custom-made file. You can do this separately for each and every error type. You shall be able to switch back to a generic error page whenever you want if required and the change shall take effect straightaway. An alternative way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you'd like to change and to input a few lines of program code inside it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you shall not need any programming skills or prior experience.