If a particular page on a site does not load for some reason or in case a link is not working, the visitor will see an error page with a 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 solution in cases like this is a function offered by some website hosting providers - the option to set your own customized error pages that will have the same layout as your site and which can contain any images or text that you would like dependent upon the particular error. There are four standard errors that could occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a page, but you haven't done so yet; 403, if you do not have an authorization to see a specific page; and 404, if a link that you've clicked leads to a file that does not exist. In any of these scenarios, website visitors will be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Hosting

If you purchase a shared hosting from our company, you'll be able to set customized error pages for your sites fast and easy, as this feature is a part of all our solutions. As soon as you've created the files and uploaded them to your hosting account, you can go to 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'll see drop-down options menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a tailor-made page. Should you pick the 3rd option, you should only input the URL to the file that you've uploaded then save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have previous experience or if you're simply unsure how to do this, you could just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Incorporating your own pages for any of the 4 error types to any website hosted from a semi-dedicated server account with us will be very easy and won't take more than several clicks. When you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You could choose what page should display for every error type. The choices are a default Apache server page or a page from our system, and custom pages. If you pick the last option, you will need to type in the link to every single page in your account, then save the change. The link or the type of page that will be displayed in case a user encounters an error can be changed anytime. If you are more experienced, you could use an .htaccess file so as to set custom made error pages as well, instead of using our integrated generator tool, and in case you pick this option, the file needs to be located inside the root directory of a particular domain or subdomain.