glassfish v3 multiple domain hosting

I have a website running with glassfish and I want to now use the same server to host another domain on a completely new domain name. What are the steps involved in configuring glassfish to support this?

Answers


Create a new virtual server and assign the new domain name to it. You can use the admin console to achieve this:

Configuration --> Virtual Servers --> new

Assign a name to the new virtual server (Field: Id) and set your domain name (Field: Hosts). Choose one or more http-listeners and restart your server.


Yes, actually this is achieved by adding a new Virtual server in GlassFish admin console panel. You can easily Run Multiple Custom Domains on GlassFish Server with Jelastic.

This instruction shows you how to manage this with every needed detail provided.


Need Your Help

What kind of files are valid Xcode behavior scripts?

xcode applescript file-format

I'm trying to set up an Applescript as a behavior in Xcode 4, but Xcode won't allow me to select my script. What kind of file is a valid script for Xcode? I've tried .applescript, .scpt, and .txt. ...

$.AJAX for creating multiple records in rails

ruby-on-rails ajax post

I'm using Ruby on Rails, and I have a button that can create a post through AJAX, using this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.