Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Unable to rename a domain in Plesk for Windows Server: Site old.example.com does not exist

 
plesk for windowsplesk repairplesk serverplesk service interfaceserver

Symptoms

  • When renaming a domain from old-example.com to example.com, the operation fails with the following error message appears in Plesk:

    Error: Site old.example.com does not exist
            at (WebServerManager::renameHosting line 3083)
            at renameHosting(old.example.com, example.com)(WebServerManager::renameHosting line 3122)
            at execute console command --rename-vhost(vconsoleapp::start line 122)
            at execute "C:Program Files (x86)ParallelsPleskadminbin64websrvmng" --rename-vhost "--vhost-config=tmp2811.tmp" "--old-name=old-example.com"(vconsoleapp::run line 139) (Error code 1)


    Error: websrvmng failed: Site old-example.com doesn't exist
            at (WebServerMap::get line 189)
            at startHosting(old-example.com)(WebServerAdapter::startHosting line 772)
            at execute console command --start-vhost(vconsoleapp::start line 122)
            at execute "C:Program Files (x86)ParallelsPleskadminbin64websrvmng" --start-vhost "--vhost-name=old-example.com"(vconsoleapp::run line 139)
    (Error code 1)

  • The "plesk repair web" utility fails with the error message below:

    C:> plesk repair web old-example.com

    Repairing web server configuration
    Repairing web server configuration for the domain
    old-example.com ............................................... [FAILED]
    - Filename:
    ?C:Inetpubvhostsold-example.comhttpdocsweb.config
    Line number: 14
    Error: Configuration file is not well-formed XML

    In module
    Exception type: System.Runtime.InteropServices.COMException
    <...>

  • There is no old-example.com site in IIS Manager > SERVERNAME > Sites.

  • In some cases, the folder of the domain old-example.com is already renamed to example.com in %plesk_vhosts%.

Cause

Invalid website configuration in IIS or domain's web.config file.

Resolution

  1. Connect to the Plesk server via RDP.

  2. If the folder example.com already exists in %plesk_vhosts%, rename it to old-example.com.

  3. Rename domain's file web.config to web.config.orig.

  4. Start Internet Information Services (IIS) Manager at Windows Start > All Programs > Administrative Tools.

  5. In IIS Manager, expand SERVERNAME > Sites > right-click on example.com > click Remove.

  6. Start a command prompt as an Administrator and repair the website old-example.com:

    C:> plesk repair web old-example.com

  7. Repair password-protected directories:

    C:> "%plesk_cli%repair.exe" --synchronize-protected-directories-storage

  8. Log in to Plesk and rename the domain to example.com.

  9. Rename web.config.orig back to web.config.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »

Dynamic List vs. Active List: A Comprehensive Comparison – Unveiling the Ultimate Winner!

Read More »
Knowledge Base

Error while creating a domain: A specified logon session does not exist. It may already have been terminated.

Read More »

Diagnose & Repair tool provides the error when repairing Plesk installation: 500: PleskExpectionDatabase

Read More »

Domain creation fails on a Plesk server: String must not be empty

Read More »

Website hosted on Plesk looks broken: many files show errors 404

Read More »

Hosting Wiki

  • Server Redundancy
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Plesk
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family