If a particular page on a site does not load for some reason or if a link is not working, the 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 site. A likely solution in such a case is a function made available from some web hosting service providers - the option to set your own custom-made error pages which will have the exact same layout as your Internet site and that may contain any text or images that you would like depending on the specific error. There are four well-known errors that could take place and they involve these particular 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 a permission to view a certain page; and 404, if a link which you have clicked leads to a file that doesn't exist. In any of these scenarios, visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Hosting

You'll be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all hosting package that we provide, so once you log in to the Hepsia CP and visit 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 may select the sort of error page that should show up - a default one from our system, a standard Apache server page or a custom one. For the last mentioned alternative, you will need to assign the URL to the page, so when you use custom made pages, you should upload the files in your Internet hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The precise syntax can be seen in our Knowledge Base, so you can use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support personalized error pages, so you'll be able to use this feature for every single domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to input the link to the custom-made file. You'll be able to do this individually for each and every error type. You shall be able to switch back to a default error page anytime if needed and the change shall take effect at once. Another way to achieve the same result is to set an .htaccess file in the domain or subdomain folder of the site which you want to edit and to input a few lines of code within it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you will not need any computer programming skills or prior experience.