• 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.

Cannot rename domains

MicD531

New Pleskian
I'm trying to rename a domain in my panel and keep getting the following error:
Code:
Error: Execute websrvmng --rename-vhost "--old-name=domainb.com" "--new-name=domaina.com" failed with error code 1: External component has thrown an exception. In IIS7NativeProvider module Exception type: System.Runtime.InteropServices.SEHException at _CxxThrowException(Void* , _s__ThrowInfo* ) at IIS7ApplicationPools.copy(IIS7ApplicationPools* , auto_ptr<IApplicationPool>* , 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)

Running
Code:
websrvmng --rename-vhost "--old-name=domainb.com" "--new-name=domaina.com"
in the Windows command line gives the following error:
Code:
Cannot find domain by name 'domaina.com'

Haven't found many leads on the web as to what this might be.
 
Last edited:
What about

subscription.exe --update example.com -new_name sample.com
 
You can try to change the domain name in plesk panel. In website and domains section click on hosting settings and change the domain name.
 
Back
Top