If a particular page on an Internet site doesn't load for some reason or if a link is not working, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your Internet site. A possible solution in cases like this is a feature made available from some website hosting service providers - the option to set up your own personalized error pages which will have identical design as your website and that can contain any images or text you want based on the specific error. There are 4 standard errors that could occur and they involve the following so-called HTTP status codes - 400, when your 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 haven't done this yet; 403, if you don't have an authorization to see a certain page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In all of these situations, site visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
The customized error pages function is available with every shared website hosting
package which we offer and you shall be able to replace all generic pages with your own with no more than a couple of mouse clicks from your Hepsia website hosting Control Panel. You will need to create the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can do this for every web site hosted inside the account independently, so that every set of custom pages shall have the exact same layout as the website it's part of. When necessary, you could always return back to a default page from our system or to a default Apache server page. A different way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the necessary code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
Including your pages for each of the 4 error types to any website hosted through a semi-dedicated server
account with us shall be very easy and won't take more than several clicks. When you upload the files in 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 via an intuitive interface with drop-down navigation. You could pick what page should appear for each and every error type. Your choices are a default Apache web server page or a page from our system, and custom pages. If you select the last option, you will need to type the link to each page in your account, then save the change. The link or the type of page which shows up if a user encounters an error can be changed whenever you want. In case you’re more experienced, you can use an .htaccess file to set in-house made error pages too, instead of using our integrated generator software tool, and should you select this option, the file needs to be positioned inside the root directory of a specific domain or subdomain.