Multiple web sites on Windows XP

I had a problem this past holiday weekend with a small website I was working on.  I was doing some Forms Authentication (custom Forms Authentication in Monorail) and couldn't get part of the code to work unless my website was the "root" website (i.e. http://localhost).  Currently, the project is sitting in a virtual directory (http://localhost/virt1).

I only found this out because I was so sure I was doing everything right the only thing I could think might be wrong was that some of the code I was using expected the website to be running as the root website.  I reconfigured the Default Website's home directory to my small site and everything started working (yay!! my code was doing it right!).  Later, through more debugging, I discovered a small bug that I later fixed and allowed the code to run whether the website was inside a virtual directory or was the root website.

But this little snafu led me to research the possibility of having multiple websites under IIS in XP.  A couple of google searches later and I learned that IIS under XP does support multiple web sites, but you can only have one running at a time (not a big deal) and the MMC snap-in for IIS doesn't allow you to create new web sites (that's a big deal!).

Enter IISAdmin.NET!  This super-cool utility allows you to manage multiple websites in IIS under XP.  It lets you easily set up and switch between multiple websites.  Check it out!

image

No Comments