If a specific page on an Internet 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, which could make the visitor leave your website. A solution in cases like this is a feature made available from some hosting companies - the option to set up your own personalized error pages that shall have the exact same design and style as your website and that may contain any text or images that you would like based on the specific error. There are 4 popular 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 hosting server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have an authorization to see a particular page; and 404, if a link which you have clicked leads to a file which doesn't exist. In each of these scenarios, website visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
The custom error pages function is provided with every shared hosting package which we offer and you will be able to swap all generic pages with your own with no more than a few clicks in your Hepsia hosting Control Panel. You'll have to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for each web site hosted inside the account independently, so that each group of customized pages will have the very same design as the website it's part of. If required, you could always go back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you can simply copy the necessary program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Adding your personal pages for any of the four error types to any Internet site hosted from a semi-dedicated server account with us will be very uncomplicated and won't take more than a few mouse clicks. When you upload the files to your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could choose what page should display for each error type. The alternatives are a default Apache web server page or a page from our system, and custom pages. Should you choose the aforementioned option, you will need to type in the link to every page in your account, then save the change. The link or the sort of page that shows up when a user encounters an error can be modified anytime. In case you are more experienced, you could use an .htaccess file so as to set custom error pages too, instead of using our integrated generator instrument, and should you select this option, the file must be located inside the root directory of a given domain or subdomain.