• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Migrate Plesk to different domain on same server

Schoelje

New Pleskian
I have two domain names, say: example.net and example.com. Both domains are hosted on the same server.

Plesk Onyx 17.8.11 on Linux was installed on example.net.

Now that example.com is better suited for our needs, example.net is no longer needed and we would like to migrate everything to the new .com domain.

Is it possible to migrate Plesk to example.com and keep the current configuration but use example.com instead of example.net (including the mail server)?
 
That already solves a few issues, thanks!

Now, Plesk is still served from example.net:8443 and I would like that to change to example.com:8443.

How can I achieve that?
 
Have you performed all restart actions described in case for CLI?
 
I did so through the Plesk interface.

I found out that, although the Plesk interface example.com correctly as Full hostname, the hostname command shows the SP's default domain name after a reboot.

These are the steps I took the second time in terminal:
$ su
hostname showed Strato's default hostname h01234567.stratoserver.net.

# plesk bin server_pref --update -hostname example.com
SUCCESS: Server preferences are successfully updated
hostname showed example.com.

# service sw-cp-server restart
# service sw-engine restart

Plesk was still served on example.net, not on example.com.
Reboot server and hostname showed Strato's default hostname again.
In the Plesk interface Full hostname was still correctly configured: example.com.

Perhaps I should have mentioned that the domains are hosted on a VPS?
 
Back
Top