If a specific 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 website, that may make the visitor leave the site. A possible solution in cases like this is a function offered by some website hosting providers - the option to set up your own personalized error pages which shall have identical design and style as your site and which can contain any images or text that you'd like dependent upon the particular error. There are 4 popular errors that can take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, if a link that you've clicked leads to a file which doesn't exist. In any of these cases, visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Cloud Hosting

You'll be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all cloud hosting package which we offer, so when you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you can pick the kind of error page that should show up - a default one from our system, a typical Apache web server page or a custom one. For the aforementioned option, you need to specify the URL to the page, so if you use custom made pages, you must upload the files inside your hosting account first. One other way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support custom made error pages, so you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and then to type the link to the custom-made file. You could do this separately for every error type. You'll be able to switch back to a default error page whenever you want if needed and the change shall take effect instantly. An alternative way to achieve the same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you want to modify and to enter a few lines of program code in it. If you'd like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, therefore you'll not need any programming skills or previous experience.