If a specific page on an Internet site doesn't load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave the site. A possible solution in this case is a function made available from some website hosting companies - the ability to set up your own custom-made error pages that shall have exactly the same style and design as your Internet site and that can contain any images or text which you want dependent upon the particular error. There are 4 common errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In all of these situations, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Cloud Web Hosting

When you order a cloud web hosting from our company, you will be able to set custom error pages for your websites fast and easy, as this function is a part of all of our packages. As soon as you have 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 particular domain or subdomain. Inside the pop-up which will show up, you will see drop-down menus for all 4 sorts of errors and for each of them you can select an Apache default page, a generic page from our system or a tailor-made page. In case you pick the third option, you should simply type the URL to the file that you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you don't have prior experience or if you're just uncertain 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

Our semi-dedicated servers support customized error pages, so you will be able to use this feature for each domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and to enter the link to the custom-made file. You can do this independently for each and every error type. You shall be able to switch back to a standard error page whenever you want if required and the change shall take effect straightaway. An alternative way to achieve the same result is to set an .htaccess file in the domain or subdomain folder associated with the web site that you'd like to modify and to input a few lines of program code in it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you shall not need any coding skills or prior experience.