If a particular page on a site doesn't load for some reason or in case a link is broken, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which can make the visitor leave the site. A potential solution in cases like this is a feature offered by some web hosting service providers - the ability to set up your own customized error pages that shall have the exact same design and style as your site and that could contain any images or text that you would like based on the specific error. There are 4 popular errors which could take place and they involve these particular so-called HTTP status codes - 400, when your web 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 webpage, but you have not done this yet; 403, if you do not have a permission to see a certain page; and 404, if a link that you've clicked leads to a file that does not exist. In each of these scenarios, website visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Cloud Hosting
The custom error pages function is offered with every cloud hosting package we offer and you'll be able to replace the generic pages with your own with no more than just a few clicks in your Hepsia website hosting CP. You'll need to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for every site hosted inside the account separately, so that each group of custom pages will have the exact same design as the Internet site it's part of. If required, you may always go back to a default page from our system or to a default Apache server page. A different way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the needed code from our Help article about the subject.
Custom Error Pages in Semi-dedicated Servers
All semi-dedicated plans that we offer support customized error pages and it shall not take more than several mouse clicks from your Hepsia web hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP where you'll need to enter the links to the custom-made files through simple drop-down menus and an intuitive interface. Of course, you have to upload them inside your account before that. If you don't need to employ this function at some point, you can deactivate it just as quickly and choose an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you prefer, you could also use an .htaccess file to activate the custom error pages. The file should contain a specific line of code and a link for each error type and you can discover an example of the whole content for all four error types in our Help section.