If a particular page on a website does not load for some reason or if a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave the website. A solution in cases like this is a function offered by some hosting companies - the ability to set your own custom-made error pages that shall have identical design and style as your Internet site and that may contain any images or text you want depending on the specific error. There are four well-known errors that may take place and they involve these so-called HTTP status codes - 400, when your Internet 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 have not done this yet; 403, if you don't have a permission to view a certain page; and 404, when a link which you have clicked leads to a file which does not exist. In all of these situations, site visitors shall be able to see your personalized content instead of a generic error page.

Custom Error Pages in Cloud Website Hosting

When you get a cloud website hosting package from our company, you shall be able to set custom error pages for your Internet sites easily and quickly, as this feature is part of all of our packages. The moment 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 particular domain or subdomain. Inside the pop-up that will show up, you will see drop-down options menus for all 4 kinds of errors and for each of them you may pick an Apache default page, a generic page from our system or a custom page. Should you choose the 3rd option, you should just type the URL to the file which you have uploaded and save the change. Another way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have prior experience or if you are just uncertain how to do that, you could simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Our semi-dedicated hosting support customized error pages, so you shall be able to use this function for each domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the given domain/subdomain and then to type in the link to the custom file. You could do this independently for each and every error type. You'll be able to switch back to a standard error page whenever you want if necessary and the change will take effect straightaway. An alternative way to get the same result is to put an .htaccess file inside the domain or subdomain folder associated with the site which you would like to change and to type in a few lines of program code inside it. If you would like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you shall not need any programming skills or previous experience.