Skip to content

Instantly share code, notes, and snippets.

@YBogomolov
Last active December 26, 2015 12:29
Show Gist options
  • Save YBogomolov/7151672 to your computer and use it in GitHub Desktop.
Save YBogomolov/7151672 to your computer and use it in GitHub Desktop.
Add IIS website binding from command line
C:\Windows\System32\Inetsrv\appcmd.exe set site /site.name: %1 /+bindings.[protocol='http',bindingInformation='*:80:%2']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment