I\'m new to Nginx and I\'m trying to get subdomains working.
What I would like to do is take my domain (let\'s call it example.com) and add:
example.com
You just need to add the following line in place of your server_name
server_name xyz.com *.xyz.com;
And restart Nginx. That's it.