If a certain page on a website doesn't load for some reason or in case a link is not working, the site visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave the website. A likely solution in this case is a function offered by some hosting providers - the ability to set up your own custom-made error pages which shall have exactly the same layout as your site and which can contain any text or images that you would like depending on the specific error. There are four standard errors which may take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done this yet; 403, if you do not have a permission to view a specific page; and 404, when a link that you've clicked leads to a file which doesn't exist. In any of these scenarios, visitors shall be able to see your customized content instead of a generic error page.
Custom Error Pages in Cloud Hosting
You can set up customized error pages for any of your Internet sites easily when you use any of our cloud plans. This can be done using the Hosted Domains part of the Hepsia CP, provided with all accounts as soon as you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You must upload the files to your account beforehand and input the links to them during the process. This feature can be de-activated whenever you want and the options you shall be able to to pick from are a conventional page from our system or a default Apache server page. Custom error pages may be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you are not tech-savvy, you could copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated hosting plans support tailor-made error pages, thus you'll be able to employ this feature for each domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the particular domain/subdomain and to type in the link to the custom file. You could do this separately for each error type. You will be able to switch back to a standard error page whenever you want if necessary and the change shall take effect instantly. Another way to get the same result is to set an .htaccess file in the domain or subdomain folder associated with the site that you'd like to change and to type in several lines of code inside it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, thus you won't need any computer programming skills or previous experience.