If a particular page on a website does not load for some reason or if a link is not functioning, the site visitor shall 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 the site. A potential solution in cases like this is a function made available from some hosting providers - the option to set up your own personalized error pages that will have the exact same layout as your website and that may contain any text or images you want dependent upon the specific error. There are four well-known errors that may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the 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 so yet; 403, if you do not have a permission to view a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In each of these scenarios, website visitors shall be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Hosting

If you order a Linux hosting from our company, you will be able to set custom made error pages for your sites quickly and easily, because this function is a part of all of our plans. The moment you've 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 particular domain or subdomain. Inside the pop-up that will appear, you'll see drop-down options 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 customized page. If you pick the third option, you should just enter the URL to the file that you have uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. If you do not have previous experience or if you're just uncertain how to do this, you may simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All semi-dedicated services which we supply support tailor-made error pages and it will not take more than several mouse clicks from your Hepsia website hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your CP in which you'll have to input the links to the custom-made files via basic drop-down menus and a time and effort saving interface. Keep in mind, you must upload them to your account before that. In case you don't need to use this feature at some point, you could deactivate it just as quickly and choose an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to allow the customized error pages. The file needs to contain a particular line of code as well as a link for each and every error type and you may find an example of the whole content for all four error types in our Help section.