• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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