If a specific page on a site does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, that could make the visitor leave the website. A possible solution in this case is a feature offered by some web hosting companies - the ability to set your own custom-made error pages that will have exactly the same layout as your Internet site and that may contain any text or images that you would like based on the specific error. There are four common errors that may occur and they involve the following 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 page, but you have not done this yet; 403, if you don't have an authorization to see a certain page; and 404, if a link which you have clicked leads to a file which does not exist. In any of these scenarios, website visitors shall be able to see your customized content rather than a generic error page.

Custom Error Pages in Hosting

You'll be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all hosting solutions which we offer, so as soon as you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could choose the type of error page that should appear - a default one from our system, a typical Apache web server page or a customized one. For the aforementioned option, you'll have to assign the URL to the page, so when you use custom made pages, you must upload the files inside your hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The correct syntax can be seen in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of the semi-dedicated service that we offer support custom error pages and it shall not take more than a few clicks inside your Hepsia website hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP where you will have to enter the links to the custom-made files via simple drop-down menus and a user-friendly interface. Keep in mind, you should upload them inside your account before that. If you don't want to use this feature at some point, you could deactivate it just as easily 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 like to, you may also use an .htaccess file to activate the custom error pages. The file needs to contain a specific line of code as well as a link for each error type and you can find an example of the whole content for all four error types in our Help section.