Solved

DNS problem with external host for website

Posted on 2016-09-27
5
34 Views
Last Modified: 2016-09-29
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!
0
Comment
Question by:Bill K
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:footech
Comment Utility
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?
0
 

Author Comment

by:Bill K
Comment Utility
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.
0
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
Comment Utility
In that case, it appears your web host is redirecting www.sample.com to sample.com, and thus on your internal DNS even though the www record gets you to the site correctly, it then redirects to sample.com, which on your internal DNS is the AD domain name, and thus resolves to the IP of a domain controller (there will be one A record for sample.com for each DC which points at a DC's IP).

The only fixes here are to set up your site so that it doesn't do the redirect, or move to a different AD domain name.
0
 

Author Comment

by:Bill K
Comment Utility
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
0
 
LVL 39

Expert Comment

by:footech
Comment Utility
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".
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Resolve DNS query failed errors for Exchange
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now