erver {
listen 80;
server_name example.org www.example.org example2.org www.example2.org;
...
}
<VirtualHost 192.168.1.1 172.20.30.40>
DocumentRoot "/www/server1"
ServerName example.com
ServerAlias www.example.com example2.com *.example2.com
</VirtualHost>