I want to set up a virtual machine to host windows server 2019 to host multiple websites in IIS 10. Each website can be reached with a domain name for example:
- www.website1.com
- www.website2.com
- www.website3.com
This server just has these IPs:
The single global static IP address we assume it 205.100.100.100
The local IP address in the local network we assume it 192.168.1.1
Now I want to be able to define ns1 and ns2 for setting in websites DNS name servers to locate to this server as each unique domain name locates to its own website source hosted in IIS inside the server just with single static IP that server has. I read about recognition of the requested website through the same IP with HTTP Headers but this way not working if we want using SSL. I think the solution maybe same as NAT technology and must be map request to correct internally hosted website. I don't know if this is possible but I saw Hosting companies don't use a new static IP for each new website. I just want to do the same things. Any help appreciated.