Avatar of Bill K
Bill K
Flag for United States of America asked on

DNS problem with external host for website

I took over a business network where the previous IT guy named the local network domain (sample.com) with the same name as the website domain name (sample.com) for the business, which caused internal DNS problems.  We could not get to the external website.  I was able to solve it in my Win2003 server environment by adding an A record with the name "www" to the internal DNS server that pointed to the external IP of the web hosting company.  

Recently, we migrated to a new DNS server (Win2008 R2) and have not been able to see our own website internally since the migration.  I have tried deleting/purging the A record and recreating the A record.  We are using forwarders that point to opendns DNS servers.  When I type in my internet browser www.sample.com, I keep getting the IIS homepage screen for the internal server.  

I have recently reviewed articles referencing EDNS and DNS issues but not 100% this is my problem.  Article here>  http://weblogs.asp.net/owscott/windows-server-2008-r2-dns-issues

Does anyone have any ideas on how to resolve this issue in Win2008R2 DNS environment?

Thank you!
DNSWindows Server 2008

Avatar of undefined
Last Comment
footech

8/22/2022 - Mon
footech

I keep getting the IIS homepage screen for the internal server
What internal server?
This should not be anything to do with EDNS0, as the behavior you're describing is different.  Sounds more like a redirect is in place.
What do you see when you try browsing just using the IP address instead of the host name?
Bill K

ASKER
What internal server?  The internal DNS server also has IIS running on it to support an application.  If I type in http://www.sample.com; yes browser redirects to http://sample.com rather than hitting the external IP.  In nslookup, the internal DNS server is reporting the external IP of the web hosting  company properly when I ask from my PC.  Hence the confusion.....

If I type just the external IP of the host web server, I get the landing page for the web hosting product.  Keep in mind they are hosting multiple domain names on this server.  I understand what you are saying about the browser redirect and I thought the same, I have tried multiple browsers thinking it may be the browser doing the redirect from the http://www.sample.com to chopping it off and changing it to http://sample.com.
ASKER CERTIFIED SOLUTION
footech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Bill K

ASKER
Footech

Thanks for your help.  How do I setup my internal domain so it doesnt do the redirect?  I have queried this issue and found some DNS services can offer it as a part of their paid service.  Is there a way to do it in Windows Server OS-DNS services?

Bill
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
footech

You can't.  It's configured on the web site.  This is not a DNS thing.  On the web site there is a HTTP redirect so that when your browser does a request for "www.sample.com" it receives the HTTP redirect which tells it to query for "sample.com".