If a certain page on an Internet site does not load for some reason or if a link is broken, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A solution in cases like this is a feature made available from some hosting providers - the ability to set up your own personalized error pages which will have the same design and style as your Internet site and that may contain any images or text that you would like dependent upon the particular error. There are 4 well-known errors that could occur and they involve these particular 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, 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 an authorization to see a particular page; and 404, when a link which you have clicked leads to a file that doesn't exist. In each of these cases, website visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Hosting
You'll be able to set up personalized error pages for each of your domains or subdomains. The feature is supported by all shared hosting package which we provide, so after you log in to the Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will show up, you may choose the kind of error page that should show up - a default one from our system, a conventional Apache web server page or a custom one. For the latter option, you must assign the URL to the page, so when you use customized pages, you need to upload the files in your website hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The actual syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated hosting plans support custom made error pages, so you will be able to use this feature for every single domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to input the link to the custom-made file. You can do this individually 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 instantly. A different way to get 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 modify and to type in a couple of lines of code in it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any programming skills or prior experience.