Custom Error Pages
Learn more about web site error pages, when they show up and why you need to utilize customized error pages.
If a specific page on a 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 shall have nothing in common with the rest of the website, which could make the visitor leave the site. A possible solution in cases like this is a feature offered by some hosting companies - the ability to set up your own custom error pages that shall have exactly the same design as your site and that could contain any text or images that you would like depending on the specific error. There are four common errors which could take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you have not done so yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In each of these scenarios, website visitors will be able to see your customized content instead of a generic error page.
-
Custom Error Pages in Cloud Hosting
You'll be able to set up personalized error pages for each of your sites with ease when you use any of our
cloud hosting packages. This can easily be done through the Hosted Domains part of the Hepsia CP, which comes with all accounts and once you go there, you can set your custom pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and input the links to them through the process. This feature could 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 web server page. Tailor-made error pages could be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must include some system code and links to the pages. If you're not tech-savvy, you can copy the whole content needed for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Hosting
All of our
Linux semi-dedicated hosting support custom error pages, so you will be able to use this feature for each and every domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and then to enter the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a standard error page at any time if required and the change shall take effect right away. Another way to get the exact same result is to set an .htaccess file in the domain or subdomain folder of the Internet site which you'd like to change and to enter a few lines of program code inside it. If you'd like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, thus you'll not need any programming skills or previous experience.