If a certain page on a website doesn't load for some reason or in case a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your Internet site. A potential solution in this case is a feature offered by some web hosting service providers - the option to set your own customized error pages which will have the same design as your site and which can contain any text or images that you'd like based on the particular error. There are four common errors which can take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you don't have a permission to see a particular page; and 404, when a link that you've clicked leads to a file that doesn't exist. In any of these situations, site visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Cloud Hosting
If you acquire a Linux cloud hosting from us, you will be able to set custom error pages for your Internet sites quickly and easily, because this function is part of all of our packages. Once you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will appear, you will see drop-down options menus for all 4 sorts of errors and for each one of them you could choose an Apache default page, a generic page from our system or a custom made page. In case you pick the third option, you should simply enter the URL to the file you have uploaded and save the change. A different way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of program code in it. If you don't have previous experience or if you're just unsure how to do that, you could just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
Incorporating your personal pages for each of the four error types to any website hosted inside a semi-dedicated server account with us shall be very simple and won't take more than a few mouse clicks. When you upload the files to your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can choose what page should show up for every single error type. The choices are a default Apache server page or a page from our system, and custom pages. If you select the aforementioned option, you have to type in the link to every page in your account, then save the change. The link or the sort of page which will be displayed if a user encounters an error can be modified whenever you want. In case you are more experienced, you could use an .htaccess file in order to set custom error pages too, instead of using our integrated generator instrument, and in case you choose this option, the file needs to be placed in the root directory of a particular domain or subdomain.