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

Hani M .S. Al-habshi
Hani M .S. Al-habshi used Ask the Experts™
on
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'
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
EE Solution Guide - Technical Dept Head
Most Valuable Expert 2017
Commented:
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/
Hemil AquinoNetwork Security Engineer
Distinguished Expert 2018
Commented:
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.
DrDave242Principal Support Engineer
Commented:
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.)
MASEE Solution Guide - Technical Dept Head
Most Valuable Expert 2017

Commented:
Enough information to confirm answer.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial