Solved

DNS problem with external host for website

Posted on 2016-09-27
5
53 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 40

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 40

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 40

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

821 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