Tuesday, August 3, 2010

Publish/Deploy Web Site Visual Studio IIS

  1. Visual Studio: go to Build -> Build Website
  2. go to Build -> Publish Website
  3. note the Target Location
  4. Go to IIS, on my machine it is Control Panel -> Administrative Tools -> Computer Management -> Services and Applications -> Internet Information Service
  5. Under "Connections" there is a tree-view. Right-click on "Sites". Choose "Add Web Site".
  6. From the Add Web Site Dialog, enter the site name, then Physical Path - same as the Target Locatoin from Step 3. (you can do these both at the same time and cut and paste)
  7. Enter the host name, e.g. www.mysite.com
  8. After that, configure it the way you want .. depends on your preference and the application.

No comments:

Post a Comment