Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to change a domain name in Plesk?
Answer
Renaming a domain via Plesk
-
Go to Domains > example.com > Hosting Settings.
-
In the Domain name field, change the domain name.
-
Apply the changes.
Note: If this is the main domain, subscription name will be also changed.
Renaming a domain via a command-line interface
-
Connect to a Plesk server via SSH (Linux) / RDP (Windows Server).
-
Use the 'plesk bin site' utility to rename a domain. In the example below, we are renaming example.com to example.net:
Note: On Windows Server, start a command prompt as an Administrator.
# plesk bin site --update example.com -new_name example.net
Comments
3 comments
[2021-04-12 03:51:21.169] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/usermng' '--mod-user' '--old-user=bludau-media' '--new-user=bludau-media' '--homedir=/var/www/vhosts/bludau.io'] with exit code [8]
An error occurred during domain update: Unable to rename the domain:
exit status 1
processes aren't stoped for this domain.
suspend all services under the service manager than it works.
now i've problems with domain ending .io it needs IPv6 Support...
I had the problem that the command does not work.
The reason was that the domain rename tool of Plesk tries to move files of AWStats - regardless if it's installed or not.
In my example it was not installed.
After installing AWStats with the the Plesk Updater tool the command worked fine.
Please sign in to leave a comment.