The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server showing its own IP instead of the visitor's

Discussion in 'General Discussion' started by Nishant80, May 7, 2012.

  1. Nishant80

    Nishant80 Well-Known Member

    Joined:
    May 7, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,
    I have set up a new server a few days ago and I have been noticing this weird problem. Let me explain.

    1. I have a forum of my own which runs on mybb
    2. A client has his forum which runs on vbulletin
    3. We have a live chat software with visitor's tracking options.

    Now, whenever a visitor would land on any of them, the IP would be recorded as the Server's OWN IP instead of the Visitors IP which is causing a lot of troubles.

    I have looked through options in WHM but nothing rang a bell. Can anyone help me out here?
     
  2. Nishant80

    Nishant80 Well-Known Member

    Joined:
    May 7, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Note - We have nginx installed on the server (if that has anything to do with it)
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    On the vB forum where are you seeing the server IP being used by the user, or showing? On the who's online page?

    What's the name of the chat software?

    Not sure about nginx so no help there.
     
  4. Nishant80

    Nishant80 Well-Known Member

    Joined:
    May 7, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks for trying to help. THose 3 points were just as an example, despite of whatever software, forum or anything we use, it records the server IP instead of visitors.

    Just in case you still need it, the live chat software is known as "Live help messenger desktop" which comes along with WHMCS for $6. And we see the server's IP in "whos online" in vbulletin when logged in as Admin (same in mybb).
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure I'm any help here at all. Better that I pass on this in the hopes someone else can be more help to you. This may indeed be an nginx cache issue or something.
     
  6. PattyO

    PattyO Member

    Joined:
    May 6, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I had the same problem and this is what the DC's support said:

    Apache recompile is not recommended if Nginx Admin is installed. You need to reinstall Nginx Admin if you recompiled Apache. I have reinstalled ngnix to fix the issue.

    Try also to rebuild vHosts on Nginx.
     
  7. Nishant80

    Nishant80 Well-Known Member

    Joined:
    May 7, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I also believe that could be the reason, I have tried rebuilding the vhosts but that didn't help. Anything else that you would suggest?

     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If this were happening under Apache, you could submit a ticket to us about it. The best way to tell if it is nginx, and it probably is, would be to uninstall it entirely and see if it works properly then for IP logging. If it does, then it is indeed nginx. At that point, I would suggest contacting the maker of the nginx plugin you are using, especially if they have their own support forum.
     
Loading...

Share This Page