Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DNS problem with external host for website

Posted on 2016-09-27
5
Medium Priority
?
86 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 41

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 41

Accepted Solution

by:
footech earned 2000 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 41

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

596 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