In the both sentences bellow, for me both the words 'realm' and 'domain' work in AmE. I need your confirmation; do you agree that these two words mean the same in each one of the examples bellow and using each one would not change the meaning of the sentence in the following senses:
This question can be answered in the realm / domain of psychology.
On the internet you can find everything in the realm / domain of medicine.