If a specific page on a website does not load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your Internet site. A potential solution in cases like this is a function offered by some hosting companies - the ability to set up your own custom-made error pages that will have exactly the same design and style as your website and that may contain any text or images that you would like dependent upon the specific error. There are 4 standard errors that can occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have a permission to see a specific page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In each of these cases, visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Hosting

When you buy a Linux shared hosting from our company, you will be able to set customized error pages for your sites easily and quickly, since this feature is a part of all of our solutions. Once you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will show up, you will see drop-down options menus for all 4 sorts of errors and for each of them you can choose an Apache default page, a generic page from our system or a personalized page. Should you choose the third option, you should simply input the URL to the file that you have uploaded and save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you do not have prior experience or if you are just unsure how to do this, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support custom made error pages, so you shall be able to use this feature for every single domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular 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 generic error page anytime if needed and the change shall take effect right away. A different way to achieve the same exact result is to put an .htaccess file in the domain or subdomain folder associated with the Internet site that you want to edit and to enter a couple of lines of program code inside it. If you need to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or previous experience.