If a particular page on a website doesn't load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your site. A solution in cases like this is a feature offered by some hosting service providers - the ability to set your own custom-made error pages that will have the exact same design as your website and that may contain any images or text you want depending on the particular error. There are four popular errors which can occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see some web page, but you have not done so yet; 403, if you don't have an authorization to see a certain page; and 404, if a link that you have clicked leads to a file which does not exist. In all of these cases, website visitors will be able to see your customized content instead of a generic error page.
Custom Error Pages in Shared Web Hosting
When you acquire a shared web hosting from our company, you will be able to set customized error pages for your websites fast and easy, since this feature is part of all of our plans. After you have created the files and uploaded them to your website hosting account, you should check out 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 show up, you shall see drop-down menus for all 4 sorts of errors and for each one of them you could pick an Apache default page, a generic page from our system or a custom made page. If you choose the third option, you should simply enter the URL to the file you have uploaded then save the change. A different 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 code in it. If you do not have previous experience or if you're simply not sure how to do that, you may just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers that we provide support customized error pages and it shall not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files via basic drop-down menus and an easy to work with interface. Of course, you have to upload them in your account before that. In case you do not want to employ this function at some point, you can disable it just as easily and pick an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you prefer, you could also use an .htaccess file to activate the custom error pages. The file should contain a specific line of code plus a link for every error type and you may find an example of the whole content for all four error types in our Help section.