Renaming a domain in Plesk fails with the following error:
Error: Unable to rename the domain: A virtual directory with the specified name already exists.
The directory chosen as a Docroot for the domain already exists.
Log into Plesk
Alternatively, set another unique name for document root of the new domain.
Connect to the server via SSH
Rename the folder with same name at
/var/www/vhosts/system/with the following command:
# mv /var/www/vhosts/system/rename.example.com/ /var/www/vhosts/system/rename.example.com_renamed/