If I have 2 sites hosted on the same Websphere box, how do I point requests to the correct index page?

Assume that I have 2 sites, abc.com and def.com, and they are hosted on the same Websphere 4.0 box.  The context roots will be /abc and /def, respectively.  When a person wants to view abc.com, how do I set it up so that they don't have to put the context root in the URL?  

For example, I don't want the user to have to type in 'http://www.abc.com/abc' in order to view abc.com.  

I know I could just have a slash for the context root of abc, but with multiple sites, I don't know how Websphere will differentiate.  

Thanks for any help!!
Who is Participating?
ahoffmannConnect With a Mentor Commented:
in your WebShpere config file you should have something like:

   <web-application name="yourApp" action="update">

You may also change it in your WebShpere's Administration console, IIRC it's named "Web Application Path" there.
LDawg17Author Commented:
What is the name of the config file?  I would like to see the entire file to fully understand what is going on.  Thanks...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.