If a specific page on a site doesn't 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 Internet site, that can make the visitor leave your website. A potential solution in cases like this is a function offered by some website hosting companies - the option to set your own personalized error pages that shall have identical style and design as your site and which could contain any images or text you want depending on the particular error. There are four common errors which may occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done so yet; 403, if you don't have a permission to view a certain page; and 404, in case a link which you've clicked leads to a file that does not exist. In any of these cases, visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Web Hosting

You'll be able to set up custom error pages for any of your Internet sites with ease if you use any of our web hosting plans. This could be done through the Hosted Domains part of the Hepsia Control Panel, provided with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You have to upload the files to your account in advance and enter the links to them through the process. This function can be de-activated anytime and the options you'll be able to pick from are a generic page from our system or a default Apache web server page. Custom made error pages may be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you are not tech-savvy, you may copy the entire content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated hosting plans support personalized error pages, so you will be able to use this function for each and every domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and to input the link to the custom file. You could do this independently for every error type. You'll be able to switch back to a default error page whenever you want if needed and the change shall take effect right away. A different way to achieve the same result is to put an .htaccess file in the domain or subdomain folder of the website that you would like to modify and to enter a couple of lines of program code inside it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or prior experience.