If a specific page on an Internet site does not load for some reason or if a link is not working, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your website. A likely solution in this case is a function made available from some hosting companies - the option to set your own custom-made error pages which shall have identical design as your site and that can contain any images or text which you want dependent upon the specific error. There are 4 popular errors which may take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, in case a link that you've clicked leads to a file which does not exist. In each of these cases, website visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Hosting

When you get a Linux shared hosting from our company, you shall be able to set custom error pages for your sites quickly and easily, as this function is a part of all of our plans. After you have created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up that will show up, you shall see drop-down menus for all four types of errors and for each of them you can choose an Apache default page, a generic page from our system or a custom page. If you pick the third option, you should simply input the URL to the file that you have uploaded then save the change. Another way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. If you do not have prior experience or if you are simply uncertain how to do that, you can just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated service support custom made error pages, so you will be able to employ this feature for each domain or subdomain hosted inside your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and to enter the link to the custom-made file. You could do this independently for each and every error type. You will be able to switch back to a default error page at any time if needed and the change will take effect right away. Another way to achieve the same exact result is to place an .htaccess file in the domain or subdomain folder associated with the Internet site that you'd like to modify and to enter several lines of program code inside it. If you want to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you shall not need any programming skills or previous experience.