If a particular page on a site does not load for some reason or if a link is not functioning, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which could make the visitor leave the website. A potential solution in cases like this is a function made available from some website hosting service providers - the option to set your own personalized error pages which will have the same style and design as your website and which can contain any images or text which you want depending on the specific error. There are 4 standard errors which may take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have an authorization to see a specific page; and 404, if a link which you've clicked leads to a file that does not exist. In all of these cases, site visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Cloud Web Hosting
You will be able to set up custom made error pages for any of your sites with ease when you use any of our cloud web hosting. This could 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 pages independently for any domain or subdomain. You have to upload the files to your account before you start and input the links to them through the process. This feature can be de-activated anytime and the options you shall be able to to select from are a conventional page from our system or a default Apache web server page. Personalized error pages may be set with an .htaccess file too. 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 may copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated servers support custom error pages, so you will be able to employ this feature for each domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the given domain/subdomain and to enter the link to the custom file. You can do this separately for each and every error type. You shall be able to switch back to a standard error page whenever you want if necessary and the change shall take effect straightaway. Another way to get the same exact result is to put an .htaccess file inside the domain or subdomain folder associated with the Internet site that you want to edit and to enter a few lines of code within it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, thus you will not need any coding skills or previous experience.