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

Custom Error Pages in Shared Hosting

When you acquire a shared hosting plan from us, you shall be able to set custom error pages for your Internet sites quickly and easily, since this feature is part of all of our plans. As soon as you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up that will be displayed, you'll see drop-down options menus for all four types of errors and for each of them you may pick an Apache default page, a generic page from our system or a tailor-made page. In case you select the 3rd option, you should simply input the URL to the file you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you do not have preceding experience or if you're just unsure how to do this, you may simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All of the semi-dedicated hosting plans which we offer support personalized error pages and it will not take more than several mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP where you will need to type in the links to the custom-made files via simple drop-down menus and an easy to use interface. Keep in mind, you should upload them inside your account before that. If you don't need to employ this feature at some point, you can easily deactivate it just as fast and select an Apache server page or a default page from our system to be shown whenever your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to enable the personalized error pages. The file needs to have a specific line of code as well as a link for each error type and you may discover an example of the whole content for all four error types in our Help section.