If a particular page on an Internet site doesn't load for some reason or if a link is not working, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your Internet site. A potential solution in such a case is a function offered by some web hosting companies - the option to set your own customized error pages which shall have exactly the same design as your site and which may contain any text or images which you want based on the particular error. There are four standard errors which can take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you have not done so yet; 403, if you don't have a permission to view a particular page; and 404, in case a link that you have clicked leads to a file which does not exist. In all of these cases, site visitors will be able to see your personalized content instead of a generic error page.

Custom Error Pages in Hosting

The custom made error pages feature is available with each hosting plan that we offer and you will be able to swap all of the generic pages with your own with no more than a few clicks from your Hepsia website 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 specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You may do this for each Internet site hosted inside the account independently, so that each set of custom pages shall have the exact same style and design as the Internet site it is part of. When necessary, you can always return back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the required code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support custom made error pages, so you will be able to use this function for every single domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the specific domain/subdomain and then to type in the link to the custom file. You'll be able to do this separately for each and every error type. You'll be able to switch back to a generic error page anytime if required and the change will take effect straightaway. A different way to get the exact same result is to put an .htaccess file in the domain or subdomain folder of the Internet site which you would like to modify and to enter a few lines of program code inside it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, thus you'll not need any programming skills or prior experience.