If you have browsed loads of websites, you have probably stumbled upon some error message from time to time. An error may occur in case the web server can't process a request (Error 400), if you must log in so that you can 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 isn't on the web server (Error 404). Receiving such messages can sometimes be annoying as the pages have absolutely nothing in common with the actual site. That’s why some website hosting companies permit you to set your own error pages that'll match the style of your own Internet site and which could have any content which you would like - information why the error has occurred, a suggestion how to proceed or even some witty comment. Such a function will help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Web Hosting
You can set up personalized error pages for each of your sites with ease when you use any of our web hosting. This can be done through the Hosted Domains part of the Hepsia CP, provided with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You need to upload the files to your account beforehand and enter the links to them through the process. This function can be de-activated whenever you want and the options you will be able to choose from are a generic page from our system or a default Apache server page. Custom made error pages can be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it must contain some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support custom made error pages, thus you'll be able to employ this feature for every single domain or subdomain hosted in your account. All it takes to do this is to visit 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 can do this independently for each and every error type. You shall be able to switch back to a standard error page whenever you want if needed and the change will take effect immediately. An alternative way to get the same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you would like to change and to input a few lines of program code inside it. If you want to try this method, you could 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.