Tech Off Post

Single Post Permalink

View Thread: IIS, SSL Certificates, and hostheaders
  • User profile image
    W3bbo

    Suppose you've got an SSL certificate for "foo.com" and you've got an IIS website which serves requests for both "www.foo.com" and "foo.com"

    Now any request for "https://www.foo.com" would give errors since the cert was issued to foo.com and not www.foo.com.

    What's the best way around this besides ordering a Wildcard SSL certificate? Is there any way to get IIS to automatically redirect all requests to www.foo.com to foo.com or something?

    Or if I've got 2 certificates, one for "www.foo.com" and one for "foo.com" is there any way to make them work together for the same website?