So, you want to run more than one IIS on WinXP Pro ?

WinXP Pro is, in many ways, a huge improvement over Win2K. Admittedly in my chosen environment – running in VirtualPC on OSX – it’s a little slower than it’s predecessor, but turn off all the chrome and extraneous stuff and it’s still quick enough.

One thing that it doesn’t support however is multiple websites defined within IIS. Well, that’s what the paperwork says !

As there isn’t an ‘official’ option to run Win-Server2K3 on VirtualPC yet, there had to be a way round the problem…

Well, there is….
To create a new website you need to kick off the Command Prompt and change to the IIS Admin Scripts directory

cd /inetput/adminscripts

then enter the following to copy the current site

cscript adsutil.vbs COPY W3SVC/1 W3SVC/2

note #1: it doesn’t matter what port or IP address you attach to… only one can be started at a time
note #2: you’ll need to change the “W3SVC/2” as appropriate.

To delete a specific instance enter the following;

adsutil.vbs delete W3SVC/2

note #3: As in note #2 above, remember to change the “W3SVC/2” as appropriate.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: