If a specific page on a site does not load for some reason or in case 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 website, that may make the visitor leave your Internet site. A likely solution in this case is a function made available from some website hosting providers - the ability to set up your own custom-made error pages which will have the exact same style and design as your Internet site and which can contain any text or images which you want based on the particular error. There are 4 popular errors that could occur and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to view a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these cases, website visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

When you purchase a shared web hosting from our company, you will be able to set personalized error pages for your websites easily, because this function is part of all our plans. The moment you've created the files and uploaded them to your web hosting account, you can check out 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 show up, you will see drop-down menus for all 4 types of errors and for each of them you may pick 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 enter the URL to the file that you've uploaded and save the change. Another way to set customized error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you don't have previous experience or if you're just uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting services that we supply support custom error pages and it will not take more than a few clicks inside your Hepsia website hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel where you'll need to type in the links to the custom-made files using basic drop-down menus and a user-friendly interface. Keep in mind, you must upload them in your account before that. If you don't want to employ this function at some point, you can deactivate it just as fast and choose an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you prefer, you may also use an .htaccess file to enable the customized error pages. The file has to include a specific line of code and a link for each error type and you may find an example of the whole content for all four error types in our Help section.