• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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