Please refer to Powershell commands:
For example:
Add the binding with the following commands:
New-WebBinding -Name "test.com" -IP "XX.XX.XX.XX" -Port 443 -Protocol https
(The binding of port 443 will be added for the domain test.com)
Remove the binding with the following:
Get-WebBinding -Port 443 -Name "test.com" | Remove-WebBinding
(The binding of port 443 will be removed for the domain "test.com")
New-WebBinding [[-Name] <String>] [-Protocol <String>] [-Port <UInt32>] [-IPAddress <String>] [-HostHeader <String>]
Add the binding with the following commands:
New-WebBinding -Name "test.com" -IP "XX.XX.XX.XX" -Port 443 -Protocol https
(The binding of port 443 will be added for the domain test.com)
Remove the binding with the following:
Get-WebBinding -Port 443 -Name "test.com" | Remove-WebBinding
(The binding of port 443 will be removed for the domain "test.com")
Comment