If a particular page on an Internet site doesn't load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave your Internet site. A solution in such a case is a feature made available from some website hosting providers - the option to set your own personalized error pages that will have exactly the same design and style as your site and that can contain any text or images that you'd like based on the particular error. There are 4 popular errors that may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you have not done this yet; 403, if you do not have a permission to view a specific page; and 404, in case a link which you've clicked leads to a file that does not exist. In each of these cases, website visitors will be able to see your custom content rather than a generic error page.
Custom Error Pages in Website Hosting
If you acquire a website hosting package from our company, you'll be able to set custom error pages for your websites quickly and easily, as this function is part of all of our plans. As soon as you've created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down options menus for all 4 types of errors and for each of them you can select an Apache default page, a generic page from our system or a custom made page. If you select the 3rd option, you should just type the URL to the file you have uploaded then save the change. A different way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you don't have preceding experience or if you are simply uncertain how to do this, you may simply copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting packages that we provide support personalized error pages and it will not take more than several mouse clicks in your Hepsia website hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your Control Panel where you'll have to type in the links to the custom-made files through simple drop-down menus and an easy to use interface. Needless to say, you should upload them in your account before that. In case you don't want to employ this feature at some point, you can easily disable it just as easily and select an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the customized error pages. The file should contain a particular line of code as well as a link for each error type and you can easily find an example of the entire content for all four error types in our Help section.