If a certain page on an Internet site does not load for some reason or in case a link is not working, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your site. A potential solution in this case is a feature made available from some hosting service providers - the ability to set up your own personalized error pages that shall have identical style and design as your site and which can contain any images or text which you want depending on the particular error. There are 4 common 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 server and it can't be processed; 401, if you are supposed to log in to see a webpage, but you have not done so yet; 403, if you don't have an authorization to see a specific page; and 404, if a link that you've clicked leads to a file which doesn't exist. In each of these cases, website visitors shall be able to see your customized content rather than a generic error page.
Custom Error Pages in Web Hosting
You'll be able to set up customized error pages for any of your Internet sites easily if you use any of our Linux web hosting service. This can be done from the Hosted Domains part of the Hepsia Control Panel, offered with all accounts as soon as you go there, you'll be able to set your personalized pages independently for any domain or subdomain. You should upload the files to your account in advance and enter the links to them through the process. This function can be de-activated whenever you want and the options you will be able to choose from are a standard page from our system or a default Apache server page. Custom error pages may be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it must contain some system code and links to the pages. If you are not tech-savvy, you could copy the entire content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All of our Linux semi-dedicated hosting service support custom made error pages, so you shall be able to use this function for each and every 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 associated with the given domain/subdomain and to enter the link to the custom file. You can do this independently for each and every error type. You will be able to switch back to a generic error page whenever you want if required and the change will take effect instantly. An alternative way to achieve the same result is to place an .htaccess file in the domain or subdomain folder associated with the Internet site that you'd like to edit and to type in a few lines of code in 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, so you will not need any programming skills or prior experience.