Set Sender/From email address in discourse

In your settings, you can setup the domain to point to whatever domain you want.
My site is hosted on board.example.com and the emails come from example.com

Is that what you mean?