If a certain page on a site does not load for some reason or if a link is not functioning, the website 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 potential solution in cases like this is a function made available from some web hosting service providers - the option to set your own customized error pages which shall have exactly the same design and style as your website and that can contain any images or text you want dependent upon the particular error. There are four common errors that may occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see a 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 which does not exist. In each of these scenarios, site visitors will be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Cloud Web Hosting

The personalized error pages function is available with each and every cloud web hosting package which we offer and you shall be able to swap all of the generic pages with your own with no more than just a few clicks inside your Hepsia hosting Control Panel. You will need to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia CP. You can do this for each and every site hosted inside the account individually, so that every set of customized pages will have the very same design and style as the website it's part of. When necessary, you can always go back to a default page from our system or to a default Apache server page. One other way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you could simply copy the necessary code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support tailor-made error pages, thus you'll be able to use this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and to input the link to the custom file. You'll be able to do this individually for each error type. You shall be able to switch back to a standard error page whenever you want if needed and the change shall take effect immediately. A different way to achieve the same exact result is to put an .htaccess file in the domain or subdomain folder associated with the Internet site that you would like to edit and to type in a few lines of code inside it. If you need to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, which means that you won't need any computer programming skills or previous experience.