Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Win2008 server with IIS 7 and I want to duplicate one web site and just change the binding port and the application pool that is using, so I will have 2 web sites (locally or remote) with same configuration but listening on different ports.

Is there a way to do this with web deploy tool ir order to deploy locally and remotely this unique web site and change the binding ports in the destination?

share|improve this question

I found another question that answers exactly what I need. I just made some adjusments to my scenario:

IIS7 - Web Deployment Tool - SetParam/SetParamFile to set http and https bindings + Cert

Now I can set the parameters in the command line like this:

msdeploy.exe -verb:sync

and just change the "webserver1" and "8080" with what I need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.