Custom Error Pages
Get familiar with website error pages. Learn when they show up and why you should create your individual custom error pages.
If you have looked at a lot of Internet sites, you've probably come across some error message from time to time. An error can take place in case the web hosting server can't process a request (Error 400), if you need to log in in order to see some content and you haven't done so (Error 401), if you are not allowed to access a webpage (Error 403) or if a link leads to a file that isn't on the server (Error 404). Receiving such messages can sometimes be aggravating since the pages have nothing in common with the actual site. That’s why some website hosting service providers permit you to apply your own error pages that will match the style of your own website and which could have any content that you would like - info why the error has occurred, a suggestion what you can do or even some humorous remark. This sort of function will help you keep the visitor on the website whatever the error and the reason for it.
-
Custom Error Pages in Cloud Web Hosting
You'll be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all
cloud web hosting plans which we offer, so when you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may select the type of error page that should show up - a default one from our system, a conventional Apache web server page or a custom one. For the latter alternative, you need to specify the URL to the page, so if you use customized pages, you need to upload the files in your web 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 seen in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Servers
All our
semi-dedicated servers support customized error pages, thus you'll be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to input the link to the custom-made file. You are able to do this independently for each error type. You shall be able to switch back to a standard error page at any time if necessary and the change will take effect immediately. Another way to get the very same result is to place an .htaccess file in the domain or subdomain folder associated with the website that you'd like to modify and to type in several lines of code in it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any computer programming skills or prior experience.