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

Custom Error Pages in Website Hosting

You will be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all website hosting package which we provide, so after you log in to your Hepsia Control Panel and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could 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 latter alternative, you will need to specify the URL to the page, so when you use custom made pages, you should upload the files in your hosting account first. Another way is to use an .htaccess file placed inside 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 don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting packages support personalized error pages, so you'll be able to employ this feature for every single domain or subdomain hosted inside your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the specific domain/subdomain and then to type the link to the custom-made file. You could do this individually for each and every error type. You'll be able to switch back to a default error page at any time if necessary and the change will take effect right away. Another way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder related to the web site that you want to change and to input a few lines of program code inside it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any computer programming skills or previous experience.