If a specific page on a site does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave the site. A likely solution in this case is a feature offered by some website hosting service providers - the ability to set your own personalized error pages that shall have the exact same design and style as your site and that may contain any text or images you want dependent upon the particular error. There are four popular errors that 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, in case you are supposed to log in to see a page, but you have not done so yet; 403, if you do not have an authorization to view a specific page; and 404, when a link that you have clicked leads to a file that doesn't exist. In any of these situations, website visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Shared Web Hosting
If you purchase a Linux shared web hosting from our company, you shall be able to set custom made error pages for your Internet sites easily, as this function is part of all our solutions. As soon as you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will be displayed, you shall see drop-down menus for all four kinds of errors and for each of them you may select an Apache default page, a generic page from our system or a custom made page. In case you select the 3rd option, you should only type the URL to the file that you've uploaded then save the change. Another way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. If you do not have previous experience or if you are simply unsure 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 semi-dedicated hosting plans that we supply support personalized error pages and it shall not take more than a couple of clicks from your Hepsia web hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP in which you'll need to input the links to the custom-made files using very simple drop-down menus and an intuitive interface. Of course, you should upload them to your account before that. In case you do not need to employ this function at some point, you will be able to disable it just as fast and choose an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to activate the custom made 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 entire content for all four error types in our Help section.