How to add Sub Domain in Internet information System through command line. Please find out below code which I have tested. You can enter bulk entries for multiple countries sub domains like us.example.com.
C:\Windows\System32\inetsrv\appcmd.exe set site /site.name:"example.com" /+bindings.[protocol='http',bindinginformation='*:80:us.example.com']

