Using IIS on a dedicated Windows Server 2016 I have a site running on my server (dev.timesavr.net) with SSL. This site has been running for at least a year now. Now I've added a second site on the same server with a different domain (dev.benjicare.com) but I'm not able to access it from outside the server.
Both sites are bound to dedicated IP addresses. I've seen lots of suggestions on this site (and others) to use "Host Headers" in order to make IIS host multiple domains, but those can only work with unsecured sites. I need to use IP addresses because I need to use SSL for both, so both websites in IIS are bound to their own unqiue IP addresses.
dev.timesavr.net is already accessible via SSL. I haven't yet got a certificate for dev.benjicare.com but at this point I'm trying to just get it working without SSL. I can access it in a browser only if I'm on the server itself (via RDP), but from any other machine I can't access it. After it tries to connect for about 30 seconds it eventually times out and says "This site can't be reached".
I've already created an A dns record to point my IP to dev.benjicare.com and that's working as it should as you can see here: https://www.whatsmydns.net/#A/dev.benjicare.com
I've also checked the firewall to see if the WWW inbound rule on port 80 was restricting IP addresses but it's not. What else am I missing here to make this work? It seems like this should be pretty straight forward.
I believe
dev.benjicare.com
is currently pointing to10.20.21.114
whis is not you public IP.https://en.wikipedia.org/wiki/IP_address#Private_addresses
From
dns
pointing
rectify the correctpublic IP
first! and also check thebinding settings
inIIS
to check whether you have correct binding settings for your puclic ip to you website. see https://www.sherweb.com/blog/cloud-server/how-to-set-up-site-bindings-in-internet-information-services-iis/If you want to use same public ip 174.142.191.69 for dev.benjicare.com , first point it from domain service provider. not the private address 10.20.21.114 you are currently using. Or else you will go out of nowhere with it. Then change the binding to "all unassigned"