Re: Name based virtual hosts not working

2016-03-12 Thread Kevin "Ingwie Phoenix" Ingwersen
Hey. I am using a setup with a bunch of domains - where I am just using the server_name property. As far as I can see, your config looks ok. But you have to keep in mind one thing: the "default" property, AND if it is being accessed through a proxy. That can - I am no expert! - possibly be a c

Re: Name based virtual hosts not working

2016-03-11 Thread Anoop Alias
Can you try listen IP:80; instead of listen 80; where IP is the IP address both domains resolve to ( and I assume its the same IP). -- *Anoop P Alias* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Name based virtual hosts not working

2016-03-11 Thread zzyber
Hi! I just did a lemp setup but I can't get my virtual hosts to work properly. I´m totally lost and out of ideas. Two domains and one starting on e is always responding showing its root and the other starting on s is just dead. I understand that nginx is handling this as Apache analyzing the heade