If you have checked out a lot of sites, you have probably encountered some error message once in a while. An error could occur when the web hosting server can't process a request (Error 400), if you must log in to see some content and you haven't done so (Error 401), if you aren't allowed to access some webpage (Error 403) or if a link leads to a file that isn't on the website hosting server (Error 404). Getting this type of messages can sometimes be aggravating since the pages have absolutely nothing in common with the actual website. That’s why some website hosting providers permit you to use your own error pages that'll match the style of your own site and which may have any content that you would like - details why the error has taken place, a suggestion what you can do or even some funny remark. This type of function will help you keep the visitor on the website irrespective of the error or the reason for it.

Custom Error Pages in Shared Web Hosting

You'll be able to set up custom made error pages for each of your domains or subdomains. The feature is supported by all shared web hosting solutions which we provide, so when you log in to the 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 appear, you may choose the sort of error page that should show up - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned alternative, you have to assign the URL to the page, so when you use customized pages, you should upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated plans support customized error pages, thus you'll be able to use this function for every single domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and then to type in the link to the custom-made file. You can do this independently for each and every error type. You'll be able to switch back to a generic error page whenever you want if needed and the change will take effect straightaway. An alternative way to get the same result is to put an .htaccess file inside the domain or subdomain folder of the website which you would like to change and to type in several lines of program code in it. If you would like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or prior experience.