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

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



a) Renaming a domain via Plesk 


  1. Log in to Plesk.

  2. Go to Domains > example.com > Hosting Settings.

  3. In the Domain name field, change the domain name.

  4. Apply the changes.

    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) Renaming a domain via a command-line interface

 

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

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

Did you find it helpful? Yes No

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