If you have looked at lots of Internet sites, you've probably stumbled upon some error message from time to time. An error can occur when the hosting server cannot process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you aren't able to access some page (Error 403) or if a link leads to a file which isn't on the web server (Error 404). Receiving this sort of messages may sometimes be frustrating because the pages have nothing in common with the actual site. That’s why some website hosting companies permit you to set your own error pages that will match the style of your own website and that could have any content which you would like - info why the error has appeared, a suggestion how to proceed or even some amusing comment. This kind of function shall help you keep the visitor on the site regardless of the error and the reason for it.

Custom Error Pages in Hosting

You will be able to set up personalized error pages for all of your domains or subdomains. The function is supported by all hosting package which we provide, so when you log in to your Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can select the type of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned alternative, you'll have to specify the URL to the page, so if you use custom made pages, you need to upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated hosting plans support tailor-made error pages, so you'll be able to use this function for each and every domain or subdomain hosted inside your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to type the link to the custom file. You are able to do this individually for every error type. You'll be able to switch back to a standard error page anytime if required and the change will take effect at once. Another way to achieve the same result is to put an .htaccess file in the domain or subdomain folder of the website that you want to edit and to type in a few lines of program code in it. If you would like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any programming skills or prior experience.