All IPs are the same


Active member
I am having a weird problem. Anyone that visits my forum has the same IP - the IP being the IP of the my webserver. This problem first started after my webhost moved me to a new server.

I know, sounds like a webhost problem. And so I bugged them, did my research, and finally am turning here as I am confused now.

I have 3 forums (ok, more, but not important) on this server. 2 vB forums, one xF forum. I also have a few other scripts, such as wordpress and WHMCS to name a few.

The vB and xF forums are showing all visitors from the same IP. WHMCS, which also records IPs, works fine and has the correct IP. So does wordpress.

If you look at a phpmyinfo page, it does have the correct IP there as well.

I did my goggling and found this topic: as well as

I also found several others and seemed to me I needed mod_rpaf installed.
I spoke to the host and they did install it, but the issue remains.

Which is why I am turning to the knowledgeable people here asking if they may have a idea on why my xF install is showing all users from the same IP.



Well-known member
Create file testip.php (for example) in root path of site with code:
echo $_SERVER['REMOTE_ADDR'] . '<br />' . $_SERVER["HTTP_X_REAL_IP"];?>
And in browser type http://yoursite/testip.php
If two IP are identical, mod_rpaf means is installed and works correctly. If will be different, means or the unit is not installed, or the sheaf between frontend and backend servers is not set correctly up. It is quite probable that appropriate adjustment in nginx is not specified or that there at you is used.
But generally it is strange that thus wordpress and WHMCS work correctly. Probably, they work on other ports around frontend.


Active member
Yep, they are not the same. first it shows the servers ip, then it shows mine.
I guess back to the webhost to ask them to fix it?


Well-known member
Yes, it is possible to apply fix, but it will be even better to force than a hoster to make the operation - correctly to configure a hosting.
Then it is not required to make change to each script.