• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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