• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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