If a certain page on an Internet 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 may make the visitor leave your Internet site. A possible solution in this case is a function made available from some web hosting service providers - the ability to set your own personalized error pages that will have identical layout as your website and that may contain any images or text which you want dependent upon the particular error. There are 4 common errors which can occur and they involve these 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, if you're supposed to log in to see some page, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, when a link which you've clicked leads to a file that doesn't exist. In each of these scenarios, visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Hosting

You can set up custom made error pages for each of your domains or subdomains. The function is supported by all hosting solutions that we provide, so once you log in to the Hepsia Control Panel and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can choose the sort of error page which should appear - a default one from our system, a conventional Apache server page or a customized one. For the aforementioned alternative, you'll have to specify the URL to the page, so if you use custom pages, you need to upload the files in your hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated service which we offer support custom error pages and it will not take more than several clicks from your Hepsia website hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel where you'll need to input the links to the custom-made files using basic drop-down menus and an easy to work with interface. Needless to say, you should upload them in your account before that. If you don't want to employ this feature at some point, you will be able to disable it just as easily and pick an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd like to, you may also use an .htaccess file to enable the personalized error pages. The file needs to have a particular line of code as well as a link for each and every error type and you can discover an example of the whole content for all four error types in our Help section.