nginx reverse proxy cannot access apache virtual hosts

view full story

http://serverfault.com – I am setting up nginx as a reverse proxy. The server runs on directadmin and lamp stack. I have nginx running on port 81. I can access all my sites (including virtual ips) on the port 81. However when I forward the traffic from port 80 to 81, the virtual ips have a message saying "Apache is running normally". Server IPs are fine, and I can still access virtual IP's on 81. [root@~]# netstat -an | grep LISTEN | egrep ":80|:81" tcp 0 0 <virtual ip>:81* LISTEN tcp 0 0 <virtual ip>:81* LISTEN tcp 0 0 <serverip>:81* LISTEN tcp 0 0 :::80 :::* LISTEN (HowTos)