IPlanet Subdomain Problem

I have an Iplanet 6.0 webserver working

I have directed my domain name on my DNS server as :

www.mydomain.com

*.mydomain.com

I have setup a Virtualserver with its own webroot additional to the default one , with urlhost = "www.mydomain.com"

now this VirtualServer responses the www.mydomain.com request but example.mydomain.com still handled by the default Virtual server

It is not possible to give *.mydomain.com as urlhost parameter :(

Please help

Message was edited by:

OzanYokuva

// VS is changed to Virtual server

[589 byte] By [OzanYokuva] at [2007-11-26 10:55:54]
# 1

Why don't you want the default virtual server to service requests that didn't match a specific preconfigured urlhost value?

The default virtual server is the virtual server that services requests that didn't match a urlhost. In other words, you can use the default virtual server to service requests for *.example.com. You can configure a separate virtual server to serve requests for www.mydomain.com with urlhost="www.mydomain.com".

elving at 2007-7-7 3:09:05 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

That actually does not solve my problem , default virtualserver is already in use and answering another domain and its subdomains . I also use a Request filter on this second Virtual server so if I use it as default the results may brutal.

I have to configure the second Virtual server to answer the subdomains of configured domain (there are hundereds of subdomains :( ....)

ozan_yokuva at 2007-7-7 3:09:05 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
I see a few options:1. use separate IP addresses for your two domains2. list each "subdomain" in an urlhost attribute3. use Web Server 7.0Web Server 7.0 allows you to include wildcards in URL host mappings as follows:<host>*.example.com</host>
elving at 2007-7-7 3:09:05 > top of Java-index,Web & Directory Servers,Web Servers...