If a specific page on a site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A possible solution in cases like this is a function made available from some web hosting service providers - the ability to set up your own custom error pages that shall have exactly the same style and design as your website and that may contain any text or images that you would like depending on the specific error. There are four popular errors which can occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have an authorization to view a specific page; and 404, when a link which you've clicked leads to a file which does not exist. In all of these cases, visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

You'll be able to set up personalized error pages for all of your domains or subdomains. The feature is supported by all shared web hosting package which we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will show up, you may select the sort of error page that should appear - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned alternative, you need to assign the URL to the page, so if you use custom pages, you need to upload the files inside your Internet hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The actual syntax can be found 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 of our Linux semi-dedicated hosting packages support custom made error pages, so you will be able to employ this feature for each domain or subdomain hosted inside your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and to input the link to the custom file. You can do this separately for each error type. You will be able to switch back to a generic error page anytime if necessary and the change will take effect straightaway. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder related to the Internet site which you want to change and to input a couple of lines of code within it. If you would like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, thus you shall not need any programming skills or prior experience.