change the main domain of my virtualmin box

2 posts / 0 new
Last post
#1 Thu, 05/22/2014 - 08:49
srmobile

change the main domain of my virtualmin box

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

Thu, 05/22/2014 - 09:59
andreychek

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

Topic locked