How to generate dynamic subdomains for each registered user

September 8, 2015 1.3k views
Java Nginx

I have plans to develop a website, but I would like for each user a subdomain is generated, for example. zakk.myweb.com, I want to develop the site using Tomcat and Java EE, I researched and I can use nginx + tomcat, who recommend me.