Article ID: 11126, created on Mar 15, 2011, last review on May 10, 2014

  • Applies to:
  • Plesk for Windows

Symptoms

Subdomain creation fails with the following error:
Error: WebServerManager::addSubdomain() failed: websrvmng failed: This Web site cannot be started. Another Web site may be using the same port.
In Microsoft.Web.Administration module
Exception type: Microsoft.Web.Administration.ServerManagerException
at Microsoft.Web.Administration.Site.Start()
at IIS7WebSite.startStop(IIS7WebSite* , Boolean start)
at IIS7WebSite.start(IIS7WebSite* )
at addLinkSite(sqladmin, C:\inetpub\vhosts\sqladmin)(WebServerAdapter::addLinkSite line 3872)
at install(WebServerAdapter::install line 105)
at execute console command --add-subdomain(vconsoleapp::start line 129)
at execute "C:\Program Files\Parallels\Plesk\/admin/bin/websrvmng" --add-subdomain "--vhost-name=domain.com" "--subdomain=sub"(vconsoleapp::run line 140)

Cause

Some website in IIS has duplicates bindings. It prevents subdomain creation.

Resolution

In order to fix this error, you need to find sites with duplicated bindings which prevents subdomain creation.

On subdomain creation, Parallels Plesk Panel check and modifies bindings for several websites in IIS:

- Main website for subdomain
- sqladmin(default)
- sitebuilder(default)
- webmail(default)


Check 2 points for these website:
1. Websites are started in IIS.

2. There are no duplicates for these websites in IIS.

For example, website with the name 'sqladmin(default)54567' exists IIS. Digits in the website name can be differs.
Such duplicates should be deleted.
Then configure sqladmin websites according to the Plesk settings with the following command:
"%plesk_bin%\websrvmng.exe" --reconfigure-sqladmin

In case of the existing duplicate for the webmail, delete duplicate and reconfigure webmail sites with the command:
"%plesk_bin%\websrvmng.exe" --update-webmail-binding

If duplicate exists for the 'sitebuilder(default)' site, delete it and reconfigure site with the command:
"%plesk_bin%\websrvmng.exe" --reconfigure-sitebuilder

85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF