• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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