• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Change Primary Domain on Server

F

fishnyc22

Guest
Hey everyone.

I have a box that originally had 1 domain on it (myfirstdomain.com). I now added a second domain (myseconddomain.com) to the box that I would like to make the primary domain so that all outgoing mail comes myseconddomain.com. I thought I had set this up right until Qmail failed to send an email and I got back a message FROM

[email protected]

I ran this command to see where it was still being used:

find . -exec grep "myfirstdomain.com" '{}' \; -print

my results showed me that in file ./etc/named.conf the master zone is set to myfirstdomain.com I assume that is the problem and I can safely switch it to myseconddomain.com. Is this the case?

I thought there was a way in plesk to set the primary domain, but I dont see it.

I REALLY wish their was an easy way to map outgoing mail to each domain instead of it being set to the primary domain. Well. without recompiling qmail. Yuck!

Any feedback is appreciated.

Fish
><>
 
You can try removing the first domain and then re-adding it?
Also did you edit the server name inside plesk server preferences ?
 
Back
Top