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: 188.8.131.52
What I've done so far:
- I created a www A record in the local DNS server pointing to the external website 184.108.40.206.
- 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 220.127.116.11) ---- 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 18.104.22.168.
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.