I wanted to create this thread to have a solution for anybody using Rackspace Sites where they have the problem of all of the IP addresses showing the same numbers. You can work around this by doing the following:
Here is the updated fix as of version 126.96.36.199 as the fix listed originally no longer applied. The following issue occurs on Rackspace Cloud Sites (formerly known as Mosso).
The file needed to be modified is in /app/code/core/Mage/Core/Helper/Http.php
Instead of editing a core file, you should create a new file in the local version. So copy the Http.php file above and put it here (you’ll probably have to create the directories):
On line 141 you will see this:
$this->_remoteAddr = $this->_getRequest()->getServer('REMOTE_ADDR');
If you are using SSL on your store, replace with this:
$this->_remoteAddr = $this->_getRequest()->getServer('HTTP_X_FORWARDED_FOR');
If you are not using SSL on your store, replace with this:
$this->_remoteAddr = $this->_getRequest()->getServer('HTTP_X_CLUSTER_CLIENT_IP');
Now your customers IP address should show on orders as well as “online customers”.
The variables that replaced REMOTE_ADDR were obtained from the Rackspace Wiki: