Is there a way to setup subdomains udner Xp Pro IIS for something like test.localhost
Can it be done via IIS or the hosts file? Need to do a tets on a site that uses pathign back to the root so having the site ina virtual directory like localhost/test causes issues.
As you’re probably well aware that out of the box IIS 5.1 only supports one web site. What you can do is use the
adsutil.vbstool to create a second site in IIS 5.1 and configure it to use that.The following article explains the process:
There’s even a GUI widget to make life easy:
So in a nutshell:
the methods above (set the IP
address to your machine’s primary IP
address)
test.localhostdomain to the newsite
test.localhostpointing at the IPaddress above