Custom Error Pages
Take a plunge into website error pages. Discover when they show up and why you should create your own custom error pages.
If a certain page on a site does not load for some reason or if a link is broken, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave your website. A solution in cases like this is a feature made available from some website hosting service providers - the option to set up your own personalized error pages that shall have the same design as your website and that could contain any images or text that you would like based on the particular error. There are 4 popular errors that may occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see a page, but you have not done this yet; 403, if you don't have an authorization to view a certain page; and 404, when a link which you have clicked leads to a file that doesn't exist. In all of these scenarios, site visitors shall be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Cloud Web Hosting
You'll be able to set up custom error pages for all of your domains or subdomains. The function is supported by all cloud web hosting solutions which we provide, so once you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you can pick the type of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the aforementioned option, you must specify the URL to the page, so when you use custom made pages, you must upload the files in your website hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The actual syntax can be found in our Knowledge Base, to help you use this function even if you don't have any previous experience.