I have two environments, a Test and a Production environment.
Both, my Test & Production, use the same org name since we want to be consistent. So the Org name is our Domain name in both environments.
Internally, we have no issues so users go to internalprod.domainname.com and internaltest.domainname.com.
When configuring IFD, the issues is
Both environments have the same org name and domain name so users hitting either environment go to domainname.domainname.com. How can we differenciate or change the URL to go to prod.domainname.com and test.domainname.com