If a specific page on a website doesn't load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave your Internet site. A possible solution in such a case is a feature made available from some web hosting service providers - the ability to set up your own personalized error pages that shall have the same design as your Internet site and which may contain any text or images that you'd like based on the specific error. There are four well-known errors that may take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some page, but you haven't done this yet; 403, if you don't have a permission to view a particular page; and 404, when a link that you've clicked leads to a file which doesn't exist. In all of these cases, site visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
You will be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all shared website hosting plans which we provide, so once you log in to your Hepsia Control Panel 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 appear, you may pick the kind of error page which should appear - a default one from our system, a standard Apache server page or a customized one. For the last mentioned option, you need to specify the URL to the page, so when you use personalized pages, you should upload the files in your website hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The correct syntax can be located 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 Servers
All of our semi-dedicated hosting plans support custom error pages, so you'll be able to employ this function for each and every domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the specific domain/subdomain and then to type in the link to the custom-made file. You can do this individually for every error type. You'll be able to switch back to a generic error page whenever you want if needed and the change will take effect instantly. A different way to achieve the same result is to place an .htaccess file in the domain or subdomain folder related to the website that you would like to change and to input several lines of code within it. If you need to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any computer programming skills or prior experience.