These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for change the main domain of my virtualmin box on the new forum.
Hello,
So I have 3 domains on my virtualmin box.
Domain1.com Domain2.com Domain3.com
Currently vps.domain1.com is what appears as routing email from domain1.com, domain2.com and domain3.com.
I would like to make domain2.com the active domain for sending email so that when an email is sent, it shows vps.domain2.com.
How can this be done?
Thank you,
SR
Howdy,
It typically shows your system's hostname as the domain used when sending an email.
Is it an option to change your server's hostname to "vps.domain2.com"?
You could also change the "myhostname" field in Postfix to "vps.domain2.com", that should have a similar effect
-Eric