title: Sitecore Analytics x-forwarded-for not working
body: <p>Sitecore.NET 6.6.0 (rev. 130404) with DMS</p>
  
  <p>Recently our production server setup got changed and it began receiving the real IP address of the user requests via the "x-forwarded-for" custom http header. We've put "x-forwarded-for" in the "<code>Analytics.ForwardedRequestHttpHeader</code>" setting in <strong>Include\Sitecore.Analytics.config</strong>. But the analytics is still reporting the incorrect IP. What could be the reason for this? Are there any more settings that I should modify?</p>
  
  <p>Analytics was reporting the correct IP before our server setup got changed. It seems that still, Analytics is using the IP in the default header.</p>
  
  <p><strong>Update after further investigation:</strong>
  We have found out that this was an issue with IP address reporting in the server setup. There was an issue there with HTTPS traffic which prevented certain Analytics pages from getting the x-forwarded-for field. So this was not an issue with sitecore analytics.</p>