To prevent your site's visitors see the details error of your site, you can set custom error to corresponding error code, and let your site's visitors have good impression of your site. Please follow the instructions below to set the custom error for your site.
1. Upload the custom error page to your site root folder
2. Then login to your hosting control panel.
3. Go to WEBSITES --> the specific site -->Manage Website --> Custom Errors: