If a specific page on a site does not load for some reason or in case a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, which may make the visitor leave your site. A potential solution in cases like this is a function offered by some web hosting companies - the ability to set your own customized error pages which shall have exactly the same design and style as your site and that may contain any images or text that you would like depending on the particular error. There are 4 standard errors which can occur 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, if you are supposed to log in to see a webpage, but you haven't done this yet; 403, if you don't have an authorization to view a certain page; and 404, when a link that you have clicked leads to a file that does not exist. In all of these scenarios, website visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up custom made error pages for any of your websites with ease when you use any of our shared website hosting plans. This can be done via the Hosted Domains section 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 ahead of time and input the links to them during the process. This function can be de-activated whenever you want and the options you'll be able to select from are a generic page from our system or a default Apache web 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 must incorporate some system code and links to the pages. If you are not tech-savvy, you could copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated plans support customized error pages, so you shall be able to employ this function for any domain or subdomain hosted inside your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and to input the link to the custom-made file. You'll be able to do this independently for each error type. You will be able to switch back to a generic error page whenever you want if necessary and the change shall take effect right away. A different way to achieve the very same result is to place an .htaccess file inside the domain or subdomain folder of the web site which you want to change and to input a few lines of code inside it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or prior experience.