I have this config and, <a href="http://www.domain2.com">www.domain2.com</a> goes to <a href="http://domain1.com">domain1.com</a><br>What do I set in server_name so that all sub-domain requests go to that server?<br><br>xxx.domain2.com-
> domain2<br>thanks<br><br><br> server {<br> listen 80;<br> server_name <a href="http://domain1.com">domain1.com</a>;<br><br><br> server {<br> listen 80;<br> server_name
<a href="http://domain2.com">domain2.com</a>;