If a certain page on an Internet site does not load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that can make the visitor leave your site. A possible solution in cases like this is a function offered by some website hosting service providers - the option to set your own personalized error pages that will have exactly the same design and style as your website and which may contain any text or images you want dependent upon the particular error. There are four popular errors that may 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 some web page, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, if a link that you've clicked leads to a file that doesn't exist. In each of these scenarios, website visitors will be able to see your customized content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

When you acquire a Linux shared web hosting from us, you'll be able to set personalized error pages for your sites fast and easy, because this feature is a part of all our solutions. The moment you've created the files and uploaded them to your 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. In the pop-up that will be displayed, you'll see drop-down options menus for all four sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a personalized page. Should you pick the 3rd option, you should simply enter the URL to the file that you have uploaded and save the change. Another way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you do not have prior experience or if you're simply unsure how to do this, you can simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

When you host your websites in a semi-dedicated server account from our company, you may set customized error pages for any of them with ease using our in-house built Hepsia hosting Control Panel. With several mouse clicks inside the Hosted Domains section, you can edit the default setting from a system page to a custom one for any of the four error types. All you should do is supply a link to every file that you've uploaded before that and then save the change. If necessary, you will be able to revert this modification at any time and in exactly the same way. If you want, you can use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder associated with the internet site whose error pages you want to modify and the content for this sort of file can be found in our Help article about this matter.