Solved

DNS problem with external host for website

Posted on 2016-09-27
5
45 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
ID: 41818460
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
ID: 41818746
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
ID: 41818933
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
ID: 41820003
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
ID: 41820219
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

803 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