DNS ISSUES with internal domain name same as website name hosted internally

jjreed used Ask the Experts™
We recently started hosting our own websites internally.  The AD structure was setup years ago and has the same name as our website so DNS has been a little tricky.  The DNS zones are AD integrated.  Of course, anyone accessing the website from outside our network does not have a problem. Internal users it's off and on.  I added a CNAME record www because without it we cannot access the website at all.  But of course the issue we are having now is at times the website address will resolve to one of our DC's (2).  The same as parent folder entry is listed for both DC's and now the web server which causes the website address to resolve to the DC's and at times it will actually resolve to the web server.  If I do a DNS flush and reboot the client machine the website will come up but shortly after it will start resolving back to one of the DC's.  I need to know what I need to do with DNS to make the website work internally.  

Thanks for your help!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Add a host record for www to your internal DNS and point to the internal address of your webserver.
PowerShell Developer
Top Expert 2010

> I need to know what I need to do with DNS to make the website work internally

You need to use www.domain.com, or some equivalent. AD requires that the "(same as parent folder)" record points to the DCs for DFS / FRS and Group Policy processing.

The alternatives aren't particularly fun, you can:

1. Really mak everyone use http://www.domain.com
2. Configure IIS on every DC to redirect anyone hitting http://domain.com to http://www.domain.com
3. Find a web-proxy and configure it on each DC so it appears to respond to http://domain.com
4. Rename the AD Domain

I'm sorry it's not an easier fix, it's a bit of a long-standing problem with making the the AD domain name match the public name.


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial