• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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