在glassfish中托管一个应用程序 [英] hosting an application in glassfish

查看:118
本文介绍了在glassfish中托管一个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了glassfish 3.1应用服务器。创建了一个域和所有。部署战争文件,并在本地机器上工作。现在我的问题是:




  • 我已经购买了一个域名,例如:abc.com

  • 在Glassfish服务器中添加此域名

  • 我有一个VPS托管空间,我已经安装了glassfish服务器。

  • 我可以在哪里可以命名服务器这个领域在玻璃鱼?

  • 如何在glassfish中托管网站/网页应用程序?

  • 请任何身体指导我这个。 li>

解决方案

首先,您需要确保DNS解析正常工作,域名指向您的服务器的IP地址。



然后,您可以配置Glassfish 3.x来监听此域名:




  • 打开管理控制台

  • 转到配置 - >网络配置 - >网络监听器 - > http-listener 1/2

  • 切换到HTTP选项卡,并在服务器名称字段中输入您的域和端口,例如 www.yourdomain.com:8080

  • 保存配置并进行测试。


I have installed glassfish 3.1 application server. created a domain and all. deployed war file and its working fine in local machine. now my problem is:

  • I have purchased a domain e.g: abc.com
  • How to add this domain in glassfish server
  • I have an VPS hosting space too where i have installed the glassfish server.
  • where can i give name server to this domain in glass fish?
  • How can i host an website/web application in glassfish?
  • Please any body guide me with this.

解决方案

First you need to make sure that DNS resolution is working correctly and that the domain name points to your server's IP address.

Then you can configure Glassfish 3.x to listen to this domain name:

  • open administration console
  • go to configurations --> network-configuration --> network listeners --> http-listener 1/2
  • switch to the "HTTP" tab and enter your domain and port in the field "server name", e.g. www.yourdomain.com:8080
  • save the configuration and test it.

这篇关于在glassfish中托管一个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆