• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

How to correctly rename a domain in Plesk 10 ?

JTRipper

Regular Pleskian
Hello Guys,

I'm trying to rename a domain from aaaaa.tld to bbbbb.tld using the smb control panel located at https://XXX.XXX.XXX.XX:8443/smb/web/settings/id/44

I get this error:

Error: Execute logrot_mng "aaaaa.tld" off by_time daily 1465 true failed with error code 1: Execute websrvmng --update-log-rotation "--vhost-name=aaaaa.tld" failed with error code 1: Site aaaaa.tld doesn't exist Execute websrvmng --start-vhost "--vhost-name=aaaaa.tld" failed with error code 1: Site aaaaa.tld doesn't exist Execute websrvmng --start-vhost "--vhost-name=aaaaa.tld" failed with error code 1: Site aaaaa.tld doesn't exist Execute websrvmng --rename-vhost "--old-name=aaaaa.tld" "--new-name=bbbbb.tld" failed with error code 1: Site aaaaa.tld doesn't exist

My setup on this server is Win2008 64bit and a clean install (not upgraded from 9.x.x) Plesk 10.1.1 and I'm logged as administrator.

OK, wrong way - not working...

So i try to achieve the goal from CLI:

c:\Program Files (x86)\Parallels\Plesk\admin\bin>domainmng --rename-domain --old
-domain-name=aaaaa.tld --new-domain-name=bbbbb.tld
Execute websrvmng --rename-vhost "--old-name=aaaaa.tld" "--new-name=bbbbb.tld" failed with error code 1:

Exception thrown from an external component
.
In IIS7NativeProvider module
Exception type: System.Runtime.InteropServices.SEHException
in _CxxThrowException(Void* , _s__ThrowInfo* )
in IIS7ApplicationPools.copy(IIS7ApplicationPools* , auto_ptr<IApplicationPoo
l>* , basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >
* srcName, basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar
_t> >* dstName)
Not even this way...

Would anybody be so kind and show me how to correctly rename a domain from aaaaa.tld to bbbbb.tld ??

In the 9.x.x version it worked well and so my resellers need this functionality working..
 
It looks like that site is corrupted in IIS. You can try to remove corresponding site from IIS manually and verify that it is missing in configuration file C:\Windows\System32\inetsrv\config\applicationHost .config. After that try to reconfigure site with

websrvmng --reconfigure-vhost --vhost-name=aaaaa.tld

I hope it will help.
 
Back
Top