When I try to access the company website on the company network, the site opens no problem. However when I try to access website from an external IP (e.g., from home or mobile), I am asked to provide login information for the domain. If I provide the login information, I get
HTTP/1.1 200 OK
I verified that Anonymous Authentication is enabled in IIS. I assume the DNS entry is correct because I get the site internally. The website used to be accessible externally. This problem started after trying to assign each website to it's own 192.168.1.x address for configuring SSL. The individual IPs returned the above response, so I figured it didn't work. I decided to restore the previous settings and removed the SSL binding from the site.
As I've tried figuring out how to fix this for a couple days now with no results, I'm coming here for any help I can get.
Based on my research, the issue was caused by IP address configuration.
As the last reply in the post which you released on IIS forum referred, 192.168.1.x is a private address, which can only be accessed from internal network.
We need to set up an public address for external access.
As for SSL implement, which can secure data between applications across an untrusted network, I suggest that we keep using it.
I hope this helps!
- Edited by Amy Wang_Microsoft contingent staff, Moderator Tuesday, September 24, 2013 9:18 AM
There is a single public IP address (e.g., 188.8.131.52) coming into the router. All websites share this address on the internet.
The router is setup with DHCP. The entire network gets assigned private IP addresses.
- a static IP of 192.168.1.10
- a single NIC with two IP addresses 192.168.1.10 and 192.168.1.11
Server2 (a VM on Server1) has
- a static IP of 192.168.1.50
- shares the single NIC of Server1
All websites have
- Host A records in DNS pointing to either 192.168.1.10, 192.168.1.11, or 192.168.1.50
- hostnames in IIS
- Hostname: aaa.mydomain.com IP: 192.168.1.10 is accessible from the internet
- Hostname: bbb.mydomain.com IP: 192.168.1.11 is not accessible from the internet (returns the above mentioned error message) but is accessible internally (site opens)
- Hostname: ccc.mydomain.com IP: 192.168.1.50 is accessible from the internet
I'd like to figure out why bbb.mydomain.com is not accessible so that I can use SSL.
According to your description, two of your three sites are accessible from Internet without any problems.
Would you please compare the settings between these three machines, and correct the problematic machine’s settings?
If this could not solve this issue, please refer to the IIS experts about the computer configuration on IIS Manager.
Thank you for your understanding and support!
Best Regards,Amy Wang
Hi Amy, thanks for responding.
There are two machines, not three (Server1 and Server2).
The feedback in the IIS forum is that my problem is not within IIS. This seems to be confirmed because the sites are accessible internally.
The only difference between the two machines is the assignment of an additional IP to the NIC of Server1. I used the directions from this site: http://www.tutorialspoint.com/shorttutorials/assign-multiple-ip-addresses-to-windows-8-computer