If a particular page on an Internet site does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave the website. A likely solution in such a case is a function made available from some web hosting companies - the ability to set your own custom error pages which shall have the same design and style as your website and which could contain any images or text which you want based on the specific error. There are 4 common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, when a link which you have clicked leads to a file that doesn't exist. In all of these cases, visitors will be able to see your customized content rather than a generic error page.

Custom Error Pages in Hosting

You shall be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all hosting solutions which we provide, so after you log in to your Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the kind of error page which should show up - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned option, you will need to assign the URL to the page, so when you use custom pages, you need to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The exact syntax can be found in our Knowledge Base, so that you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

When you host your Internet sites in a semi-dedicated server account with our company, you can set custom error pages for each of them effortlessly through our in-house built Hepsia hosting CP. With a couple of mouse clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a custom one for each of the 4 error types. All you need to do is provide a link to every single file that you have uploaded before that and then save the change. If necessary, you shall be able to revert this customization whenever you want and in exactly the same way. If you would like, you may use an .htaccess file too. It should be created/uploaded within the domain or subdomain folder associated with the internet site whose error pages you would want to change and the content for such a file can be found in our Help article on this matter.