If a certain page on a site doesn't load for some reason or in case a link is not functioning, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your website. A potential solution in cases like this is a function offered by some hosting service providers - the ability to set your own personalized error pages which will have the same layout as your Internet site and which may contain any text or images that you'd like dependent upon the particular error. There are 4 common errors which may take place and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have an authorization to view a specific page; and 404, in case a link which you have clicked leads to a file which does not exist. In each of these cases, visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You can set up customized error pages for any of your domains or subdomains. The feature is supported by all cloud hosting plans that we provide, so after you log in to the Hepsia Control Panel and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can select the type of error page that should show up - a default one from our system, a standard Apache web server page or a custom one. For the aforementioned option, you'll have to specify the URL to the page, so when you use custom pages, you should upload the files in your web hosting account first. Another 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 seen in our Knowledge Base, to help you use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting packages that we provide support personalized error pages and it shall not take more than a few mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your Control Panel where you'll have to input the links to the custom-made files through simple drop-down menus and a time and effort saving interface. Of course, you should upload them in your account before that. In case you don't want to employ this feature at some point, you can disable it just as fast and pick an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to activate the customized error pages. The file needs to have a specific line of code as well as a link for each and every error type and you can easily find an example of the whole content for all four error types in our Help section.