Hello Amol, This does not seem to be 100% struts related. If you want gustavo.domain.com to exist you either have to create the sub-domain (and how you do that really depends on the DNS server being used) or you can have a record like: *.domain.com 192.168.1.1
In this case all requests will be sent to that server and you can have logic on your application that looks at the request and knows the username. Gustavo -----Mensagem original----- De: Amol Ghotankar [mailto:ghotankaru...@gmail.com] Enviada: terça-feira, 29 de Junho de 2010 05:26 Para: Struts Users Mailing List Assunto: Creating Sub-Domains from Struts 2 application Dear List member, I have a requirement in which when a user registers on the portal developed using struts 2, a sub-domain should be created for him. Like say Amol registers on cursivetech.com, then when he logs into his account it must look like amol.cursivetech.com How to make such arrangement and create such sub-domains directly from the application itself. Regards, Amol Ghotankar, cursivetech.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org