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.

All visitors - same ip

Discussion in 'General Discussion' started by domainerq, Feb 22, 2017.

  1. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    Hello, I am experiencing some kind of problem when i am trying to see my lasts visitors.
    I have a website with more than 200 real users connected simultaneosly and i want to see the ips of each one of them , but the screen shows that the visitors seem to have the same ip.
    Is there someting that i have to configure?

    [Removed - Please attach images directly to the thread]

    Thanks for your help.
     
    #1 domainerq, Feb 22, 2017
    Last edited by a moderator: Feb 22, 2017
  2. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    I forgot to say that the ip that shows the screen is my own ip.
    Thanks.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Your access level is listed as "Website Owner". Do you have root access to this system? If not, please report this issue to your web hosting provider, as it likely relates to the use of custom software (e.g. Nginx) and how it's configured.

    Thank you.
     
  4. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    Yes I have access level to the root system.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if you are using third-party applications such as Nginx, or using a service such as CloudFlare?

    Thank you.
     
  6. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    I am using both of them, but also i have another vps in wich i am using the same services without a problem to track the visitors ip.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  8. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    I have added mod_cloudflare and rebuild the profile on easy apache, but the problem still persist.
     

    Attached Files:

  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This document may also help:

    How do I restore original visitor IP with Nginx?

    However, I suggest checking with the developer of the specific Nginx plugin you are using to determine the specific steps you should take to address the issue.

    Thank you.
     
  10. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    Hello, thanks for the information, but i still have the problem.

    I know this is not a forum about nginx, but i would apreciate a final help.

    I am using Cpnginx.

    I did the following steps to install ( with-http_realip_module):

    in the location: /usr/src/cpanelnginx ------
    i have executed this..
    Code:
     1  ./configure --prefix=/usr/local/nginx --with-http_realip_module
     2  make
     3  make install
     4  cp -f /etc/cpnginx/nginx.cont.template /usr/local/nginx/conf/nginx.conf
     5  touch /usr/local/nginx/conf/vhost.conf
    
    
    /////////////////////////////////////////////////////////////////////////////////////
    This is my nginx.conf
    ////////////////////////////
    
    # cPanel Nginx Master configuration
    user  nobody;
    error_log  logs/error.log;
    #Number of worker you need
    worker_processes  1;
    # How many connections a worker can handle maximum.
    events {
        worker_connections  50000;
    }
    http {
        include    mime.types;
        default_type  application/octet-stream;
        sendfile on;
        server_names_hash_max_size 10000;
            server_names_hash_bucket_size 1024;
        tcp_nopush on;
        tcp_nodelay on;
        keepalive_timeout  10;
        gzip on;
        gzip_min_length  1100;
        gzip_buffers  4 32k;
        gzip_types    text/plain  application/x-javascript text/xml text/css;
        ignore_invalid_headers on;
        client_header_timeout  3m;
        client_body_timeout 3m;
        send_timeout     3m;
        include "/usr/local/nginx/conf/vhost.conf";
        include "/etc/cpnginx/cpanelproxy.conf";
    }
    set_real_ip_from 103.21.244.0/22;
    set_real_ip_from 103.22.200.0/22;
    set_real_ip_from 103.31.4.0/22;
    set_real_ip_from 104.16.0.0/12;
    set_real_ip_from 108.162.192.0/18;
    set_real_ip_from 131.0.72.0/22;
    set_real_ip_from 141.101.64.0/18;
    set_real_ip_from 162.158.0.0/15;
    set_real_ip_from 172.64.0.0/13;
    set_real_ip_from 173.245.48.0/20;
    set_real_ip_from 188.114.96.0/20;
    set_real_ip_from 190.93.240.0/20;
    set_real_ip_from 197.234.240.0/22;
    set_real_ip_from 198.41.128.0/17;
    set_real_ip_from 199.27.128.0/21;
    set_real_ip_from 2400:cb00::/32;
    set_real_ip_from 2606:4700::/32;
    set_real_ip_from 2803:f800::/32;
    set_real_ip_from 2405:b500::/32;
    set_real_ip_from 2405:8100::/32;
    set_real_ip_from 2c0f:f248::/32;
    set_real_ip_from 2a06:98c0::/29;
    
    real_ip_header    X-Forwarded-For;
    real_ip_recursive on;
    # use any of the following two
    #real_ip_header CF-Connecting-IP;
    #real_ip_header X-Forwarded-For;
    
    ///////////////////////////////////////////////////////////////
    
    
    I have restarted apache and nginx services , but the problem still persist , the visitor's screen in cpanel only show my own IP.
    ... I don't know what more i have to do.

    Thanks for the time.
     
    #10 domainerq, Feb 22, 2017
    Last edited by a moderator: Feb 22, 2017
  11. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
  12. domainerq

    domainerq Member

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Peru
    cPanel Access Level:
    Root Administrator
    Ok , voy a probar con Engintron .
    Muchas gracias por el apoyo brindado.
     
Loading...

Share This Page