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

Custom Error Pages in Shared Hosting

When you get a shared plan from our company, you'll be able to set personalized error pages for your Internet sites fast and easy, because this feature is a part of all our solutions. After you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you'll see drop-down menus for all four sorts of errors and for each one of them you may choose an Apache default page, a generic page from our system or a custom made page. Should you pick the third option, you should just enter the URL to the file you have uploaded then save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have previous experience or if you are just uncertain how to do this, you could just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated plans support custom made error pages, so you shall be able to use this feature for each domain or subdomain hosted inside your account. All it will take to do this is to visit 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 file. You can do this independently for each error type. You shall be able to switch back to a standard error page anytime if needed and the change shall take effect immediately. Another way to get the very same result is to set an .htaccess file inside the domain or subdomain folder associated with the site which you want to edit and to type in a few lines of program code inside it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you'll not need any computer programming skills or prior experience.