Postfix domain & hosting domain

I’m trying to figure the best way to setup a domain and have the postfix domain be

To continue to use virtualmin to create email accounts for the domain, is the easiest way to name the server unless you can change a setting in postfix?

This is using letsencrypt and Ubuntu Server. The main reason is to ensure there is no domain mismatch.