users@glassfish.java.net

Re: basic tutorial needed: set the hostname to something other than localhost

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Mon, 9 Feb 2009 12:57:03 +0000

Maybe but that's not going to magically get DNS to work, which is what
he needs. If I point DNS for www.fishfinger.com to my glassfish server, then
www.fishfinger.com:8080/contextroot will serve up the webapp at /contextroot.

On Sat, Feb 7, 2009 at 1:29 AM, Scott Fordin <Scott.Fordin_at_sun.com> wrote:
> Correct me if I'm wrong here, but can't you set the domain host name
> in the domain's config/domain.xml file with the serverName property?
>
> <property name="serverName" value="somehostname"/>
>
> Scott
>
> Jacob Kessler wrote:
>>
>> This is a linux-related issue, since Glassfish never touches the hostname,
>> but a quick google turned up
>> http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/
>> . Hopefully that is helpful to you.
>>
>> Something else to consider is that there may be a firewall blocking access
>> from the separate computer, which you would also have to configure to allow
>> the external requests through.
>>
>> glassfish_at_javadesktop.org wrote:
>>>
>>> Hi, i'm a complete newbie with glassfish. While i've managed to get it
>>> up and going and, with the help of this forum, to debug problems relating to
>>> deploying webstart application clients, i can only do this on localhost.
>>> I've gone through the documentation many times and can't find a simple,
>>> detailed set of instructions for running glassfish on something other than
>>> localhost. For example, i just want to access some app, "App" on my
>>> hostname rather than on localhost: http://hostname:8080/App instead of
>>> http://localhost:8080/App. Of course i can do that on the same computer i'm
>>> coding on because of some internal mapping, but when i try it from a
>>> separate computer it doesn't work. Anyway, do i create a whole new domain?
>>> I've found bits and pieces in the forum that the hostname comes from the
>>> hosts file in linux (i'm on ubuntu). Nothing seems to work so far. Using
>>> glassfish v 2.1.
>>> [Message sent by forum member 'jbrkeith' (jbrkeith)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=330624
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>