Hi Jan
Thanks a lot for the advice to create a docroot for particular project,
When I host the first app it got the default sun docroot,
But I dont know how to create a new docroot,
can you please send me how to create a new docroot for new web app pls
Hope to have a reply soon as possible
Good Day
Mujahid
On Fri, Apr 10, 2009 at 9:12 AM, Jan Luehe <Jan.Luehe_at_sun.com> wrote:
> On 04/ 9/09 02:51 AM, Mujahid wrote:
>
> Hi All,
>
> I have another problem related to glassfish hosting.
>
> I have two domain names www.abc.com and www.def.com. The both domain name
> are referred by the same IP address as 72.167.45.145.
> I have a dedicated server which has GlassFish V2 installed and the IP
> address is 72.167.45.145.Then I create a listener to listen port 80(Listen
> name is mytestlistener). Then I create two
> virtual server for my domain names. vs - 1 is refer www.abc.com and vs - 2
> is refer www.def.com. Next I point it to two virtual servers.
>
>
> Here you mean that you "attach" both virtual servers to "mytestlistener",
> right?
>
> When type www.abc.com it works fine. But then I type www.def.com it
> returns the previous result as www.abc.com.
>
>
> Here you are saying that requests for
>
> http://abc.com:80/
>
> and
>
> http://def.com:80/
>
> return the same welcome page, right?
>
> This is probably because both your virtual servers share the same docroot.
> Try assigning different docroots (with different index.html welcome pages)
> to each virtual server.
>
> Jan
>
>
>
>
> Is there anyway to solve this problem. which mean exactly I want to refer
> vs - 1 to www.abc.com and vs - 2 to www.def.
>
>
> Please send me a reply as soon as possible
>
> Thank you
>
>
>
--
***********************
A J M Mujahid
(SCJP, SCWCD, AJD)
Phone: 0771298540
Email: ajmujaa_at_gmail.com
***********************