If a specific page on a website doesn't load for some reason or if a link is not working, the website visitor shall 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 the website. A likely solution in cases like this is a feature offered by some website hosting providers - the option to set your own custom-made error pages that will have the exact same design and style as your site and that may contain any images or text you want dependent upon the particular error. There are 4 popular errors which can take place 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 cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you do not have an authorization to see a particular page; and 404, if a link which you've clicked leads to a file which does not exist. In any of these cases, visitors will be able to see your personalized content instead of a generic error page.
Custom Error Pages in Shared Hosting
You will be able to set up customized error pages for any of your domains or subdomains. The feature is supported by all shared hosting
plans which we provide, so once you log in to your Hepsia Control Panel and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can choose the type of error page which should show up - a default one from our system, a conventional Apache web server page or a customized one. For the latter alternative, you need to assign the URL to the page, so when you use personalized pages, you have to upload the files inside your website hosting account first. An alternative way is to use an .htaccess file placed inside the domain or subdomain folder with a line for each error type. The precise syntax can be located 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 Hosting
All our semi-dedicated hosting services
support personalized error pages, so you'll be able to employ this feature for each domain or subdomain hosted inside 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 to type the link to the custom file. You are able to do this independently for each error type. You'll be able to switch back to a generic error page whenever you want if needed and the change will take effect straightaway. Another way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder of the web site which you want to change and to type in a few lines of code inside it. If you would like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you will not need any programming skills or prior experience.