Nginx wildcard virtualhost

wildcard virtual host allow you to host multiple web sites with one configuration file.

Here is what i use for bizhat.com free hosting sub domains.

Nginx