If a specific page on a site does not load for some reason or if a link is not functioning, the website visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave the site. A possible solution in cases like this is a feature offered by some website hosting providers - the ability to set up your own personalized error pages that will have the same layout as your website and which can contain any images or text that you'd like depending on the specific error. There are 4 well-known errors that may occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you're 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 view a particular page; and 404, when a link that you've clicked leads to a file which doesn't exist. In all of these scenarios, site visitors shall be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

You will be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared hosting plans which we offer, so after you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could select the sort of error page that should show up - a default one from our system, a standard Apache server page or a customized one. For the aforementioned alternative, you need to specify the URL to the page, so if you use custom made pages, you must upload the files inside your website hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The precise syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of the semi-dedicated hosting which we offer support tailor-made error pages and it shall not take more than a few mouse clicks from your Hepsia website hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP in which you'll need to type in the links to the custom-made files using very simple drop-down menus and an intuitive interface. Of course, you need to upload them inside your account before that. If you do not need to use this feature at some point, you can easily deactivate it just as quickly and choose an Apache server page or a default page from our system to be shown whenever your visitors encounter an error. If you prefer, you could also use an .htaccess file to permit the custom error pages. The file should include a specific line of code and a link for every error type and you may discover an example of the whole content for all four error types in our Help section.