If you have browsed lots of sites, you have probably encountered some error message once in a while. An error could occur if the website hosting server can't process a request (Error 400), if you must log in in order to see some content and you have not done so (Error 401), if you aren't allowed to access some webpage (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Receiving this type of messages may often be irritating since the pages have absolutely nothing in common with the actual Internet site. That’s why some website hosting companies allow you to set your own error pages that will match the design of your own website and that can have any content that you would like - info why the error has occurred, a suggestion how to proceed or even some funny remark. This kind of function can help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Website Hosting

You'll be able to set up personalized error pages for all of your Internet sites with ease when you use any of our Linux website hosting plans. This can be done using the Hosted Domains section of the Hepsia CP, provided with all accounts as soon as you go there, you can set your custom made pages independently for any domain or subdomain. You should upload the files to your account ahead of time and input the links to them through the process. This function can be de-activated whenever you want and the options you'll be able to choose from are a conventional page from our system or a default Apache server page. Custom error pages could be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should incorporate some system code and links to the pages. If you are not tech-savvy, you may copy the entire content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated servers support custom error pages, so you'll be able to employ this function for every single domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and to type the link to the custom file. You are able to do this independently for each error type. You'll be able to switch back to a standard error page whenever you want if required and the change shall take effect instantly. An alternative way to get the same result is to place an .htaccess file in the domain or subdomain folder associated with the web site that you want to change and to enter a couple of lines of program code inside it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or prior experience.