If a specific page on a website does not load for some reason or if a link is broken, the 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 your Internet site. A potential solution in this case is a feature offered by some hosting companies - the ability to set your own custom error pages which will have identical layout as your website and which may contain any images or text that you would like depending on the particular error. There are four common errors that 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 server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done so yet; 403, if you don't have an authorization to see a particular page; and 404, in case a link which you've clicked leads to a file that doesn't exist. In each of these scenarios, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Hosting

When you obtain a hosting plan from us, you shall be able to set custom made error pages for your Internet sites fast and easy, as this function is part of all of our plans. The moment you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP 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 4 kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a personalized page. If you pick the third option, you should simply type the URL to the file that you have uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of code in it. In case you don't have prior experience or if you are just not sure how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All of the semi-dedicated plans which we supply support personalized error pages and it will not take more than a couple of clicks from your Hepsia web hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP in which you will need to input the links to the custom-made files using basic drop-down menus and a user-friendly interface. Needless to say, you must upload them to your account before that. If you do not want to employ this feature at some point, you will be able to deactivate it just as fast and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to activate the custom made error pages. The file has to contain a specific line of code plus a link for every single error type and you can easily find an example of the entire content for all four error types in our Help section.