If a particular page on an Internet site does not load for some reason or in case a link is not functioning, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A potential solution in such a case is a feature offered by some website hosting companies - the ability to set up your own custom error pages that will have the same layout as your Internet site and that could contain any images or text that you'd like depending on the specific error. There are 4 common errors that can occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have an authorization to view a specific page; and 404, when a link which you've clicked leads to a file which does not exist. In each of these scenarios, visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
When you order a shared web hosting from our company, you'll be able to set customized error pages for your websites quickly and easily, because this function is part of all of our solutions. The moment you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you'll see drop-down menus for all 4 sorts of errors and for each of them you may select an Apache default page, a generic page from our system or a personalized page. In case you choose the third option, you should just input the URL to the file you have uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. In case you don't have prior experience or if you are simply uncertain how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated servers support tailor-made error pages, thus you'll be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and then to input the link to the custom-made file. You are able to do this individually for each error type. You'll be able to switch back to a standard error page anytime if required and the change shall take effect at once. A different way to achieve the same exact result is to place an .htaccess file in the domain or subdomain folder associated with the Internet site which you'd like to edit and to type in a few lines of program code in it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, so you'll not need any programming skills or prior experience.