Recently I've been assigned to an old case where an employee made a (wrong) setup on a server where he used the same name for the internal domain and the external, for example domain.org. The website is on an external web server. External users have access to the website by using either http://domain.org or http://www.domain.org.
Local users will be seeing the default website IIS page on the domain controller.
mail.domain.org and webmail.domain.org are working fine on both ends but not the www.
I've read a few questions and tried some of their solutions on this forum but so far I didn't have any luck or I've been doing something wrong.
Windows Server 2008 Enterprise
For explanation purposes:
Internal server IP: 10.10.10.10
External website IP: 126.96.36.199
What I've done so far:
- I created a www A record in the local DNS server pointing to the external website 188.8.131.52.
- I installed IIS on the server and used the HTTP Redirection to http://www.domain.org
External Web Server(Web Hosting company; limited access):
- I removed the CNAME (alias) domain.org
- I added a WWW A record pointing to this website's IP address (www.domain.org A 184.108.40.206) ---- The A record for domain.org was already there.
When I ping www.domain.org from inside the domain, I get the good external IP address 220.127.116.11.
When I do nslookup www.domain.org inside the domain, I get:
When I do nslookup from outside the domain:
Address: 192.168.200.1 <------- (?? No network is using this ??)
From what I've read maybe the Web Hosting Company may be missing an A record somewhere? Or maybe they're redirecting the www back to domain.org?
I'm a bit confused and out of ideas at this point.
Is an IPv6 Address (I believe it signifies localhost; same as IPv4 localhost is 127.0.0.1).
First I would make sure that DNS is listening only on IPv4 addresses.
Second, your first configuration should work (although I would not create a redirect from your internal web server), I would however, create an A record for www and point it to the IP address of the external website.
Just asking for clarification, the site in question is hosted externally, not internally?