How to set host header II7 for SSL binding 443


Open the command prompt by clicking the start menu and typing “cmd” and hitting enter.

Navigate to C:\Windows\System32\Inetsrv\ by typing “cd C:\Windows\System32\Inetsrv\” on the command line.

Here is the syntax:

appcmd set site /site.name:”<YourIISSiteName>” /+bindings.[protocol=’https’,bindingInformation=’*:443:<YourhostHeaderValue>‘]

An Example:

appcmd set site /site.name:”DemoPortal” /+bindings.[protocol=’https’,bindingInformation=’*:443:demo.portalcompany.com‘]

 

Advertisements

About bpostaci
Sr. Support Escalation Engineer in Microsoft.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: