- Plesk for Windows
Domain example.com is missed from the Domains tab in Plesk.
Attempt to repair domain with
plesk repair webcommand fails with the following error:
C:\> plesk repair web example.com
Checking web server configuration. Please wait
aspnetcfg failed: Can't get virtual dir
Site example.com doesn't exist
at (WebServerAdapter::existsVirtualDir line 1672)
Website was removed in IIS.
Manually create website in IIS:
1.1. Connect to the server via RDP.
1.2. Open Internet Information Server manager (IIS).
1.3. Go to server_hostname > Sites > Add Website... and create the website with the settings like below:
Log into Plesk and re-enable Microsoft ASP.NET support at Domains > example.com > Hosting Settings page.
Repair all the required domain's bindings using the following command prompt command:
C:\> plesk repair web example.com -y