简体   繁体   中英

Subdomain pointing to another Windows 2012 server + using wildcard SSL certificate

I have a main server "domain.com" (let's say 78.125.0.209) and a wildcard SSL certificate for this domain name. I want to use another server's subdirectory (78.125.0.210/subdir/) as a subdomain called "s1.domain.com" and use the wildcard certificate for that server too. Both servers are Windows Server 2012 R2 / IIS 8.5.

How do I achieve this?

At the moment the SSL certificate works on the main server and I have exported it to the other server as well (not tested though) but I am unable to find the right settings so that typing "s1.domain.com" on a browser would take me to 78.125.0.210/subdir/.

  1. Add a CNAME or A record DNS entry either for "s1" or "*" that resolves to 78.125.0.210.
  2. Create a new IIS site for that machine that tells IIS on that machine that the application is at the desired subfolder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM