If a specific page on a website does not load for some reason or in case 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 Internet site, that may make the visitor leave your Internet site. A possible solution in this case is a feature offered by some hosting service providers - the option to set up your own customized error pages that will have exactly the same design and style as your website and which may contain any images or text you want dependent upon the specific error. There are four common errors that could 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 cannot be processed; 401, in case you are supposed to log in to see a web page, but you have not done so yet; 403, if you don't have a permission to see a certain page; and 404, if a link that you have clicked leads to a file which doesn't exist. In all of these cases, website visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Cloud Web Hosting

You can set up customized error pages for any of your domains or subdomains. The feature is supported by all cloud web hosting plans that we provide, so as soon as you log in to the Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you may choose the kind of error page that should appear - a default one from our system, a standard Apache web server page or a personalized one. For the aforementioned alternative, you have to specify the URL to the page, so if you use custom pages, you should upload the files inside your Internet hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The correct syntax can be seen in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support tailor-made error pages, so you shall be able to employ this feature for each and every domain or subdomain hosted inside your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the specific domain/subdomain and then to type in the link to the custom file. You could do this independently for every error type. You shall be able to switch back to a standard error page at any time if necessary and the change will take effect instantly. Another way to get the exact same result is to set an .htaccess file in the domain or subdomain folder of the website which you'd like to edit and to enter several lines of program code inside it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any coding skills or prior experience.