users@glassfish.java.net

Re: Redirect 301

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jan 2008 15:41:24 PST

Why not use "www.mydomain.com" as an alias name for "mydomain.com" (or the other way round)?

I assume you want both domains to be served by the same virtual server.

Use the "hosts" attribute of <virtual-server> in domain.xml to specify (as a comma-separated list) all the domain names that you want to see mapped to this virtual server.
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=256455