If a specific page on a website doesn't load for some reason or if a link is not working, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A potential solution in such a case is a function made available from some hosting service providers - the option to set up your own personalized error pages which will have identical layout as your Internet site and which could contain any text or images you want depending on the particular error. There are four popular errors which may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to see a particular page; and 404, when a link that you have clicked leads to a file that does not exist. In each of these scenarios, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Website Hosting

The custom made error pages function is available with every single shared website hosting package deal which we offer and you will be able to substitute all generic pages with your own with no more than a couple of clicks from your Hepsia website hosting CP. You shall need to develop the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for each website hosted inside the account individually, so that each group of custom made pages will have the very same style and design as the Internet site it's part of. If needed, you may always go back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the required code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated services support personalized error pages, so you shall be able to use this feature for each domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the given domain/subdomain and to type the link to the custom-made file. You can do this separately for each error type. You shall be able to switch back to a default error page whenever you want if necessary and the change shall take effect straightaway. An alternative way to get the same result is to put an .htaccess file inside the domain or subdomain folder related to the site that you'd like to edit and to input a couple of lines of program code within it. If you'd like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you won't need any computer programming skills or prior experience.