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

Custom Error Pages in Shared Hosting

You shall be able to set up personalized error pages for any of your domains or subdomains. The function is supported by all shared hosting package which we provide, so after 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 which will show up, you can pick the kind of error page which should appear - a default one from our system, a conventional Apache web server page or a personalized one. For the aforementioned option, you have to specify the URL to the page, so when you use personalized pages, you need to upload the files in your website hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The precise syntax can be seen 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 Servers

When you host your Internet sites in a semi-dedicated server account from our company, you can set tailor-made error pages for any of them easily through our in-house made Hepsia hosting Control Panel. With only several clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a custom made one for each of the four error types. All you have to do is provide a link to each and every file that you have uploaded before that and then save the change. If needed, you'll be able to revert this customization at any time and in exactly the same way. If you prefer, you can use an .htaccess file too. It must be created/uploaded inside the domain or subdomain folder related to the site whose error pages you would like to modify and the content for this kind of file can be found in our Help article for this matter.