users@glassfish.java.net

Re: Multiple domain names on same IP

From: Eirik Brandtzęg <eirikdb_at_gmail.com>
Date: Sun, 24 May 2009 21:31:43 +0200

Hello

Thanks for quick response.
I was afraid I might be asking a very common question, but I failed to find
any documentation.
From the blog it seems like a easy thing to do.

Thanks


On Sun, May 24, 2009 at 9:01 PM, Shreedhar Ganapathy <
Shreedhar.Ganapathy_at_sun.com> wrote:

> This blog entry should help
> http://hobione.wordpress.com/2008/10/02/glassfish-virtual-server/
>
> I am sure other threads in this forum have responses on this as well since
> I have seen this question many times.
> I think we should add this to our documentation and/or FAQ.
>
>
> Eirik Brandtzęg wrote:
>
> Hello.
>
> I want to run one single GlassFish v3 prelude server, and host many pages /
> applications.
> As I might be creating and hosting pages for customers.
> For instance would example.com and anotherexample.com both point to the
> same IP, but be two completely different applications.
>
> In Apache2 this would be solved by VirtualHosts, but how can I do it in
> GlassFish?
>
> And as I might host for different customers it would be nice if you had to
> use the correct URL
> For instance if I were hosting bankApp on example.com and mailApp on
> anotherexample.com,
> I don't want example.com/mailApp or anotherexample.com/bankApp to work...
>
> Can anyone point me in the right direction here?
>
> Thanks
>
> --
> Eirik Brandtzęg
>
>


-- 
Eirik Brandtzęg