setup transaction replication in cross domain
You need to add a CNAME in your DNS at  your primary SERVER putting the DR server's hostname.  This way publisher.mainsite.mycompany.com can be resolved.  Then use publisher as the hostname to use when connecting.