I use docker desktop for Mac, some services inside docker containers want to access some url like http://subdomain.domain.com. I want any request like this to be routed to local host, please note that I do not want to use host.docker.internal. I want to send a request exactly in this format http://subdomain.domain.com because in local host I am using tunnel to send request like http://subdomain.domain.comto somewhere else.
please note that this request is different from this one because I want to send the exact domain in url to local host.