hi, thanks for mini lesson of batch command useful in futur. hum, i did what you wrote i rebuilded vps with debian 7 remove apache just fail to restart nginx editing nginx.conf so i put in /etc/nginx/sites-available/default
and i am beat confused: root@www:/# curl -H Host:one.2maxi.com http://localhost/ content of /tmp/www/one/index.html root@www:/# curl -H Host:nil.2maxi.com http://localhost/ <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.2.1</center> </body> </html> root@www:/# so in web browser i should see content of /tmp/www/one/index.html but i have 'this page not available ... DNS lookup failed" and 2maxi.com/nil or what else gives 2maxi.com -- Posted via http://www.ruby-forum.com/. _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx