If a specific page on a site does not load for some reason or in case a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave your website. A solution in this case is a feature offered by some web hosting service providers - the option to set up your own custom error pages which will have the exact same design as your website and that may contain any text or images that you'd like dependent upon the particular error. There are four common errors which 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 webpage, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, if a link that you have clicked leads to a file which doesn't exist. In each of these scenarios, website visitors will be able to see your customized content instead of a generic error page.

Custom Error Pages in Cloud Web Hosting

When you purchase a Linux cloud web hosting plan from our company, you shall be able to set custom made error pages for your sites fast and easy, because this function is a part of all of our packages. As soon as you've created the files and uploaded them to your website 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. Inside the pop-up which will appear, you will see drop-down menus for all 4 kinds of errors and for each one of them you could select an Apache default page, a generic page from our system or a tailor-made page. If you choose the third option, you should just input the URL to the file that you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. If you don't have preceding 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

All of our semi-dedicated hosting plans support customized error pages, thus you'll be able to employ this feature for each and every domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the given domain/subdomain and to type in the link to the custom-made file. You'll be able to do this independently for each error type. You will be able to switch back to a default error page anytime if required and the change will take effect straightaway. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder associated with the site that you'd like to change and to enter several lines of program code within it. If you want to try this method, you may 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 previous experience.