Let's say I'm handling two main domains X.com and Y.com from within a single
IIS server and I have two different IIS web sites created, one for X.com and
the other for Y.com. I do this by creating two IIS Web Sites and setting the
HostHeader configuration for each for its domain(s) (X.com,
www.X.com, Y.com,
www.Y.com).
All of that is fine and works, no problem.
Now let's say that I want to handle wildcards in the 3rd-level domain for
each of the sites (in other words, without setting specific 3rd-level domains
for each, I want nnn.X.com to do to my X.com site and nnn.Y.com to go to my
Y.com site). Obviously I can do this by having a different IP address or port
number for the two different sites, but I *really* do not want to do that.
Is there a way to set "wildcards" in the HostHeader property for a site? I
tried *.X.com, but it doesn't like that.
Any help is much appreciated.
Alex