Discourse under 2 hostnames

Some weird corporate network setup where they do not want to connect subnet A to subnet B. Both need to use the Discourse instance, but are apparently not meant to talk to each other, except through using Discourse.