There are 2 steps to change the primary domain in Plesk for VPS/Dedicated Server Hosting
a) Change domain name via Plesk
Log in to Plesk.
- Go to Domain > example.com > Hosting settings .
In the field of Domain name , change domain name.
Implement change.
Note: If this is the main domain, subscription name will be also changed.
b) Change the domain name via the command line interface
Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).
Gunakan utilitas 'plesk bin site' untuk mengganti nama domain. Pada contoh di bawah ini, kami mengganti nama example.com menjadi example.net :
Note: On Windows Server, start a command prompt as an Administrator.
# plesk bin site --update example.com -new_name example.net