This blog entry might help
http://blogs.sun.com/jluehe/entry/virtual_hosting_features_in_glassfish
Mohamed Mujahid wrote:
>
>
> Thanx for the reply
>
> I have an static IP in my server (72.167.47.185). I have installed the
> GlassFish in this server. My website can be accessed by directly
> from the static IP as a remote. It works fine. (Ex:
> http://72.167.47.185:8080/mywebpage).
>
> Now, I bought a domain name as www.mywebpage.com
> <http://www.mywebpage.com> from GoDaddy. In the MX Record in the
> GoDaddy, we can point to our server. Then I point it to my static IP
> address (72.167.47.185).
> When I type www.mywebpage.com <http://www.mywebpage.com> in address
> bar of the browser, the domain name www.mywebpage.com
> <http://www.mywebpage.com> should be point to
> http://72.167.47.185:8080/mywebpage
>
> Is there anyway to configure my domain name (www.mywebpage.com
> <http://www.mywebpage.com>) with my web application (Ex:
> http://72.167.47.185:8080/mywebpage). Finally I want to load the main
> page when the domain name has type in the address bar.
>
> Thank you,
>
>
>
>
>
>
> On Sun, Mar 8, 2009 at 11:31 AM, Arun Gupta <Arun.Gupta_at_sun.com
> <mailto:Arun.Gupta_at_sun.com>> wrote:
>
> Hi Mujahid,
>
> 192.168.x.x is an IP address from your local LAN. You need to make
> sure your publicly accessible IP address is mapped correctly in
> GoDaddy console. Once your app is accessible on publicly
> accessible machine, you can call GoDaddy to work out IP
> address->domain name mapping.
>
> Please ask your question at users_at_glassfish.dev.java.net
> <mailto:users_at_glassfish.dev.java.net> for a better audience and a
> quicker response.
>
> Thanks,
> -Arun
>
> Mohamed Mujahid wrote:
>
>
> Hi,
>
> I got a website, which has installed in a server with the ip
> address: 192.168.1.5,
> and I have deployed my website in the server, which has the
> glassfish server.
> When i type as http://192.168.1.5:8086/mypage, the site works
> fine.
> Next, I got a domain name www.mypage.com
> <http://www.mypage.com> <http://www.mypage.com> from godaddy.
> Now I want to map the www.mypage.com <http://www.mypage.com>
> <http://www.mypage.com> with the
> http://192.168.1.5:8086/mypage in glassfish server
>
>
> Is there anyone knows how to solve this problem. Its urgent.
> Please reply me as soon
> --
> ***********************
> A J M Mujahid
> (SCJP, SCWCD, AJD)
> Phone: 0771298540
> Email: ajmujaa_at_gmail.com <mailto:ajmujaa_at_gmail.com>
> <mailto:ajmujaa_at_gmail.com <mailto:ajmujaa_at_gmail.com>>
> ***********************
>
>
> --
> Application Platform, Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
>
>
>
>
> --
> ***********************
> A J M Mujahid
> (SCJP, SCWCD, AJD)
> Phone: 0771298540
> Email: ajmujaa_at_gmail.com <mailto:ajmujaa_at_gmail.com>
> ***********************
>
>
>
> --
> ***********************
> A J M Mujahid
> (SCJP, SCWCD, AJD)
> Phone: 0771298540
> Email: ajmujaa_at_gmail.com <mailto:ajmujaa_at_gmail.com>
> ***********************