How to change the primary domain in Plesk for VPS/Dedicated Server Hosting

There are 2 steps to change the primary domain in Plesk for VPS/Dedicated Server Hosting

a) Change domain name via Plesk


  1. Log in to Plesk.

  2. Go to Domain > example.com > Hosting settings .
  3. In the field of Domain name , change domain name.

  4. Implement change.

    Note: If this is the main domain, subscription name will be also changed.


    Screenshot_2019-08-12_Hosting_Settings_for_example_com_-_Plesk_Onyx_17_8_11.png



b) Change the domain name via the command line interface

 

  1. Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).

  2. 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

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.