# Server with 400 sites, all visitor have same IP (my server IP)

**URL:** <https://www.ruby-forum.com/t/server-with-400-sites-all-visitor-have-same-ip-my-server-ip/217695>\
**Category:** NGINX\
**Created:** [March 8, 2012, 10:31pm UTC](https://www.ruby-forum.com/t/server-with-400-sites-all-visitor-have-same-ip-my-server-ip/217695 "2012-03-08T22:31:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 8, 2012, 10:31pm UTC](https://www.ruby-forum.com/t/server-with-400-sites-all-visitor-have-same-ip-my-server-ip/217695/1 "2012-03-08T22:31:16Z")

</div>

hi support,

I have pig problem here  
I tried to install nginx admin manytimes  
but NO Luck

all my websites (400 website), all visitors in that websites have my  
dedicated IP address

that make all members have login problem in there forum coz the same IP  
dedection

some information for that same IP  
when run

# netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort

-nk 1

```
 15 41.238.235.138
 16 41.254.2.253
 18 197.122.191.18
 18 41.191.61.76
 20 41.35.96.40
 21 41.237.206.115
 34 217.55.196.72
 40 188.48.101.225
140 188.48.49.204

```

1556 xx.xx.xx.xx (my main server dedicated ip address)

nginx.conf

user nobody;

# no need for more workers in the proxy mode

worker\_processes 2;  
error\_log /var/log/nginx/error.log info;  
worker\_rlimit\_nofile 20480;  
events {  
worker\_connections 5120; # increase for busier servers  
use epoll; # you should use epoll here for Linux kernels 2.6.x  
}  
http {  
server\_name\_in\_redirect off;  
server\_names\_hash\_max\_size 10240;  
server\_names\_hash\_bucket\_size 1024;  
include mime.types;  
default\_type application/octet-stream;  
server\_tokens off;  
sendfile on;  
tcp\_nopush on;  
tcp\_nodelay on;  
keepalive\_timeout 5;  
gzip on;  
gzip\_vary on;  
gzip\_disable “MSIE [1-6].”;  
gzip\_proxied any;  
gzip\_http\_version 1.1;  
gzip\_min\_length 1000;  
gzip\_comp\_level 6;  
gzip\_buffers 16 8k;

# You can remove image/png image/x-icon image/gif image/jpeg if you have

slow CPU  
gzip\_types text/plain text/xml text/css application/x-javascript  
application/xml image/png image/x-icon image/gif image/jpeg  
application/xml+rss text/javascript application/atom+xml;  
ignore\_invalid\_headers on;  
client\_header\_timeout 3m;  
client\_body\_timeout 3m;  
send\_timeout 3m;  
reset\_timedout\_connection on;  
connection\_pool\_size 256;  
client\_header\_buffer\_size 256k;  
large\_client\_header\_buffers 4 256k;  
client\_max\_body\_size 200M;  
client\_body\_buffer\_size 128k;  
request\_pool\_size 32k;  
output\_buffers 4 32k;  
postpone\_output 1460;  
proxy\_temp\_path /tmp/nginx\_proxy/;  
client\_body\_in\_file\_only on;  
log\_format bytes\_log “$msec $bytes\_sent .”;  
include “/etc/nginx/vhosts/\*”;  
}

Posted at Nginx Forum:

> **[server with 400 sites, all visitor have same IP (my server IP)](https://forum.nginx.org/read.php?2,223649,223649#msg-223649)**
>
> hi support, I have pig problem here I tried to install nginx admin manytimes but NO Luck all my websites (400 website), all visitors in that websites have my dedicated IP address that make all members have login problem in there forum coz t
