If a specific page on a site does not load for some reason or if a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your website. A potential solution in cases like this is a feature made available from some website hosting companies - the option to set your own customized error pages which shall have the same design and style as your Internet site and that can contain any images or text you want based on the particular error. There are four well-known errors which may take place and they involve these so-called HTTP status codes - 400, when your Internet 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 page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you've clicked leads to a file which does not exist. In all of these situations, visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Cloud Website Hosting

When you get a Linux cloud website hosting from us, you'll be able to set personalized error pages for your sites easily and quickly, as this function is a part of all of our packages. After you've created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you'll see drop-down menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom page. Should you select the 3rd option, you should only input the URL to the file that you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you do not have prior experience or if you're just uncertain how to do that, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All of the semi-dedicated hosting that we offer support tailor-made error pages and it shall not take more than a couple of mouse clicks inside your Hepsia website hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel where you'll have to enter the links to the custom-made files via very simple drop-down menus and an intuitive interface. Needless to say, you must upload them to your account before that. In case you don't need to employ this function at some point, you can disable it just as fast and pick an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the custom made error pages. The file has to contain a specific line of code and a link for each error type and you can discover an example of the whole content for all four error types in our Help section.