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

Custom Error Pages in Hosting

You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all hosting solutions that we offer, so when you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can 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 that should show up - a default one from our system, a standard Apache web server page or a customized one. For the latter alternative, you must assign 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 located in the domain or subdomain folder with a line for each error type. The correct syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

If you host your web sites in a semi-dedicated server account with us, you can set tailor-made error pages for any of them with ease using our custom Hepsia hosting Control Panel. With just several mouse clicks inside the Hosted Domains section, you can modify the default setting from a system page to a custom made one for any of the four error types. All you have to do is supply a link to every single file that you have uploaded before that and then save the change. If required, you will be able to revert this customization whenever you want and in exactly the same way. If you wish, you may use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder related to the site whose error pages you intend to change and the content for this type of file can be found in our Help article about this matter.