Home Guides Glossary

Get Detailed Errors

By default, our Windows hosting accounts display a custom/generic error when applications generate an exception. This generic error prevents malicious users from obtaining sensitive information about your Website.

To troubleshoot the issue, you can modify your web.config file and specify that a detailed error message displays instead of the custom error we created. A detailed error message helps you to locate the specific code that is causing the issue.

The code samples we provide below do not constitute a complete web.config file. Do not replace your existing web.config file with the code we provide. Before changing your web.config file, we recommend creating a backup.

You must first disable Custom Error Documents, and then add the detailed error coding to the pages for which you want them to display.

To Disable Custom Error Documents

  1. Log in to your GoWebsite account.
  2. Click Web Hosting.
  3. Next to the account you want to use, click Manage.
  4. In the section of the domain name you want to use, click Show More.
  5. Click Hosting Settings.
  6. Deselect Custom error documents, and then click OK.

Now, use the sample code in your web.config file to display detailed error messages on IIS 8:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" existingResponse="PassThrough"/>
</system.webServer>
</configuration>

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy