Skip to main content

All visitors - same ip

Comments

11 comments

  • domainerq
    I forgot to say that the ip that shows the screen is my own ip. Thanks.
    0
  • cPanelMichael
    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.
    0
  • domainerq
    Yes I have access level to the root system.
    0
  • cPanelMichael
    Hello, Could you verify if you are using third-party applications such as Nginx, or using a service such as CloudFlare? Thank you.
    0
  • domainerq
    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.
    0
  • cPanelMichael
    Hello, CloudFlare documents this issue at: Why do my server logs show Cloudflare's IPs using Cloudflare? How do I restore original visitor IP with EasyApache + cPanel? Let us know if this helps. Thank you.
    0
  • domainerq
    I have added mod_cloudflare and rebuild the profile on easy apache, but the problem still persist.
    0
  • cPanelMichael
    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.
    0
  • domainerq
    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..
    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.
    0
  • Jcats
    I would remove cpnginx and go with Engintron | Nginx on cPanel done right
    0
  • domainerq
    Ok, voy a probar con Engintron . Muchas gracias por el apoyo brindado.
    0

Please sign in to leave a comment.