Discourse under 2 hostnames

“the same discourse” suggests you are running it on the same server.

This can be achieved with a single IP address.

There is nothing stopping you registering several domains and pointing them to the same IP …