I configured SSL on this blog site and found some info on the Microsoft TechNet page Configure a Host Header for a Web Site (IIS 7). The TechNet page was a start, but it didn’t quite get me all the way there. With a bit of experimentation I successfully configured SSL on my web server. You can view a screencast of what I did at the end of this post.
For this post I’m going to use a non-existent website www.abc-test1.com.
First I added an SSL binding to the web site. In IIS Manager, with the web site selected, click on the Bindings… link.
On the Site Bindings dialog you’ll want to click the Add… button.
Then select https from the Type drop list, select your IP address, and pick your installed SSL certificate. For my testing I created a self signed certificate.
Then from the command prompt you’ll want to issue the command:
appcmd set site /site.name:www.abc-test1.com /bindings.[protocol='https',bindingInformation='*:443:'].bindingInformation:*:443:www.abc-test1.com
You can go back in IIS manager to check you SSL binding’s host name. You should see the host header you configured at this point.
I created this tutorial describing how to configure host headers in IIS 7.5 using Windows 7. It is the same process for any version of IIS 7.x.
I hope this post helps :-)
Previous Entry: You just gave away your password!
Powered by FoxBlog
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2011, Nathan Fox