Why does every visitor to my website have the same IP address?
Your script is calling for the "REMOTE_ADDR"
and receives the IP of a server in front of one of our back-end
servers. The web facing server is then passing the scripts output without
giving the expected REMOTE_ADDR of the visitor. In order for your scripts
to recognize that they are on a cluster and log the correct IP of your visitors,
you will need to replace and add the code below.
For PHP: Locate any lines of code that are similar to this snippet of
code, $_SERVER['REMOTE_ADDR']; And replace it with this snippet of code, $_SERVER['HTTP_X_CLUSTER_CLIENT_IP'];
For ASP: Locate any lines of code that are similar to this snipper of code, Request.ServerVariables("REMOTE_ADDR") And replace it with this snipper of code, Request.ServerVariables("HTTP_X_CLUSTER_CLIENT_IP")
* If you have SSL enabled for you domain you will need to replace the HTTP_X_CLUSTER_CLIENT_IPĀ with HTTP_X_FORWARDED_FOR