How to make URL pattern like app.example.com?

Posted by abc on Stack Overflow See other posts from Stack Overflow or by abc
Published on 2010-04-12T11:24:49Z Indexed on 2010/04/12 12:13 UTC
Read the original article Hit count: 131

Filed under:
|
|
|

I have my domain say "example.com" (java, GlassFish Web Server)

Now I have 3 application.. say A,B,C.

Now what I want is, if user hit a.example.com OR example.com/X then A application should get invoked. similarly for B and C. b.example.com or example.com/B, c.example.com or example.com/C.

like mail.google.com news.google.com.

How to configure this?

I couldn't query it in Google as I didn't know how to query for this exactly. So posted here. Thankx guyz in advance.

© Stack Overflow or respective owner

Related posts about url

Related posts about webservice