How to generate dynamic subdomains for each registered user

September 8, 2015 775 views
Java Nginx

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