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

Custom Error Pages in Cloud Web Hosting

If you acquire a cloud web hosting service from our company, you'll be able to set custom error pages for your websites easily, since this function is a part of all our plans. Once you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up that will show up, you'll see drop-down options menus for all four types of errors and for each one of them you can select an Apache default page, a generic page from our system or a tailor-made page. In case you choose the 3rd option, you should simply input the URL to the file you have uploaded then save the change. A different way to set customized 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 don't have previous experience or if you're just uncertain how to do this, you could simply copy and paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated service support personalized error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside your account. All it will take to do this is to check out 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 file. You could do this independently for every error type. You'll be able to switch back to a standard error page at any time if needed and the change will take effect straightaway. An alternative way to achieve the same exact result is to put an .htaccess file inside the domain or subdomain folder associated with the site which you would like to modify and to input a couple of lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you shall not need any programming skills or previous experience.