- Plesk 11.x for Linux
- Plesk 11.x for Windows
- Plesk 12.0 for Linux
- Plesk 12.0 for Windows
- Plesk 12.5 for Linux
- Plesk 12.5 for Windows
Domain renaming in Plesk fails with error:
PLESK_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;
Rename/remove the folder with the same name in vhosts directory in Subscriptions > example.com > File Manager:
Alternatively, use another name for Docroot of the new domain.
Note: For Linux, the folder may be also located in
/var/www/vhosts/system/ directory as it is used to store config and log files of the domains, and it should me renamed as well:
Connect to the server via SSH;
Rename the needed folder:
# mv /var/www/vhosts/system/rename.example.com/ /var/www/vhosts/system/rename.example.com_renamed/