error 'Page cannot be displayed' when internal users try to access external website

I have local domain  abc.com  and external website www.abc.com 
i have added a host record to the DNS pointing to the external website IP address

but still internal users try to access abc.com via a web browser it will result in 'Page cannot be displayed'
LVL 3
Hani M .S. Al-habshiContributor as IT ExpertAsked:
Who is Participating?

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

x
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.

MASEE Solution Guide - Technical Dept HeadCommented:
Hi Hani,
Option 1. Please add a DNS A record entry in your abc.com zone  and inform the users to prefix www when accessing website
www --->  187.177.125.122  (your website external IP)

Option 2. Install IIS on the DCs and redirect all http/https traffic.

https://social.technet.microsoft.com/Forums/ie/en-US/4d97325b-ff3a-4f46-ba6e-dc3f4ff978e1/dns-internal-domain-has-same-name-as-external-website?forum=winserverNIS

Please read this for better understanding
https://blogs.msmvps.com/acefekay/2009/09/03/split-zone-or-no-split-zone-can-t-access-internal-website-with-external-name/
0

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
Hemil AquinoNetwork EngineerCommented:
Where the external website hosted to? within your company or out of your company?
If it's out of your company then you need to login to your DNS provider such as godaddy and map www host to the server IP address of your website.
0
DrDave242Senior Support EngineerCommented:
but still internal users try to access abc.com via a web browser it will result in 'Page cannot be displayed'

Are those users attempting to browse to abc.com or www.abc.com? This is important, because only www.abc.com even has a chance of working in this environment.

If you try to browse to www.abc.com from inside the office, does the URL in the address bar change from www.abc.com to simply abc.com? If so, there's a redirect on the website that will need to be removed in order for this to work. That'll require a call to the web host. Once the redirect has been removed, internal users will be able to browse to the site at www.abc.com as long as the "www" DNS record you created is accurate. (They'll always have to type www in the URL, though; that's just one of the side effects of having an AD domain with the same name as your registered domain.)
0
MASEE Solution Guide - Technical Dept HeadCommented:
Enough information to confirm answer.
0
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
DNS

From novice to tech pro — start learning today.