If a specific page on a site doesn't load for some reason or if 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 could make the visitor leave the site. A likely solution in cases like this is a function made available from some web hosting providers - the ability to set your own custom error pages which shall have the exact same design and style as your website and that may contain any images or text that you would like depending on the particular error. There are four common errors that could take place and they involve these particular 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 web page, but you haven't done so yet; 403, if you do not have a permission to view a specific page; and 404, in case a link that you've clicked leads to a file which does not exist. In each of these scenarios, site visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Cloud Hosting

You can set up custom error pages for all of your domains or subdomains. The function is supported by all cloud hosting plans which we provide, so after you log in to the 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 that"ll show up, you could pick the type of error page which should appear - a default one from our system, a typical Apache web server page or a customized one. For the latter alternative, you must specify the URL to the page, so if you use custom pages, you must upload the files in your hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The actual syntax can be found 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 Servers

All of the Linux semi-dedicated service that we offer support custom made error pages and it will not take more than a couple of mouse clicks in your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel where you will need to enter the links to the custom-made files via simple drop-down menus and an intuitive interface. Keep in mind, you have to upload them inside your account before that. If you do not need to employ this function at some point, you can easily deactivate it just as quickly and select an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you prefer, you may also use an .htaccess file to enable the custom error pages. The file has to have a specific line of code and a link for each and every error type and you may find an example of the whole content for all four error types in our Help section.