External website not resolving on internal domain of same name,dont want to disable redirection

we have our external website not resolving internally unless i put the telco proxy on internet explorer forcefully.

i have added a a record for www.domain.com to point to the external ip and it resolves to proper ip when i do nslookup, however on IE or any other browser it shows page under construction. The external and internal domain name are the same ( domain.com)

there is redirection for www.domain.com to domain.com and externally it works fine.

Dont want to disable the redirection for www.domain.com to domain.com.

is there any other workaround.
Rajkumar KamathIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zac HarrisSystems Administrator Commented:
Have you tried emptying the cache? Sounds simple but this happened to me and drove me nuts.
Rajkumar KamathIT ManagerAuthor Commented:
Tried. Rebooted the dns,firewall,line everything. no luck. The problem is internal and external domain names are same.
Zac HarrisSystems Administrator Commented:
Try creating a new www record in internal dns zone pointing to private IP address of web server.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Rajkumar KamathIT ManagerAuthor Commented:
The site is hosted with godaddy.com. Have created a new a record www pointing to the public ip.

The issue is there is a redirect enabled by developer to domian.com and that happens to be same as internal domain name.

Anything else to try. What I get is www.domain.com gets redirected to domain.com on Internet explorer and gets page under construction.
DrDave242Senior Support EngineerCommented:
The problem is internal and external domain names are same.
That is indeed the problem. In an AD domain, each domain controller registers a blank host record in the domain's forward lookup zone. These records have the name (same as parent folder) in the DNS console. If you use nslookup to query the domain name from a domain-joined machine, the response should (if everything is configured properly) include the IP addresses of all domain controllers in the domain. This is by design, and it shouldn't be tampered with.

What's happening in your case is that a domain-joined machine queries an internal DNS server for domain.com and gets that list of domain controller IP addresses. The browser then picks the address at the top of the list (the only address, if there's only one DC) and sends an HTTP GET request to it. Apparently you've got IIS installed on that DC, but there's no default web site created, so you get the "under construction" page.

Unfortunately, the only feasible options are to remove the redirect on your actual website and make sure your users include www in the URL, or rename your AD domain. There's really no other way around the issue.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lionel MMSmall Business IT ConsultantCommented:
I agree with DrDave242; only workaround I can think of is to put a forward on the internal IIS homeage to redirect any traffic landing on it an IP, the domain.com external IP address; but that would mean that this IP address would have to be a non-shared IP address (most domains hosted on godaddy have shared IPs)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.