Sounds like you may need a split brain deployment.
https://learn.microsoft.com/en-us/windows-server/networking/dns/deploy/split-brain-dns-deployment
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
(Below IP addresses and domain names are eg only)
we have a domain controller and the root domain is abc.com. the server IP is 192.168.1.1
we do have a publicly accessible website as abc.com same as the DC root domain. the IP address is 20.1.1.1.
When we try to access the abc.com website from external networks it's loads fine.
but when we try to access it from the internal network where the DNS server is 192.168.1.1 it's not loading since internally abc.com is pointing to 192.168.1.1.
we cant point abc.com to 20.1.1.1 from the DNS because then the internal AD traffic will be sent to 20.1.1.1 and we cant do a conditional forwarder as well because of the same reason.
has anyone got in to the issue? what is the solution to load abc.com website from the internal network?
Sounds like you may need a split brain deployment.
https://learn.microsoft.com/en-us/windows-server/networking/dns/deploy/split-brain-dns-deployment
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Hi,
The solution is to create a DNS entry type A WWW in the internal DNS zone active directory abc.com for the external website:
www.abc.com -->20.1.1.1
Please don't forget to mark helpful reply as answer