@Mohammed Alom If you mean that you do not want internal users to be going over App proxy, you need to use the Split-Brain DNS.
A split DNS infrastructure directs internal hosts to an internal domain name server, and external hosts to an external domain name server, for name resolution.
If the internal and external URLs are different, you don't need to configure split-brain behavior, because user routing is determined by the URL. In this case, you change only the external DNS, and route the external URL to the Application Proxy endpoint. Read more here.
If at all, you need to configure the Split-brain DNS, have a look at this document : https://learn.microsoft.com/en-us/windows-server/networking/dns/deploy/split-brain-dns-deployment