Applicable to:
- Plesk for Windows
Symptoms
-
Domain example.com is missed from the Domains tab in Plesk.
-
Attempt to repair domain with
plesk repair web
command fails with the following error:C:\> plesk repair web example.com
Checking web server configuration. Please wait
aspnetcfg failed: Can't get virtual dir
Reason:
Site example.com doesn't exist
at (WebServerAdapter::existsVirtualDir line 1672)
Cause
Website was removed in IIS.
Resolution
-
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
Comments
0 comments
Please sign in to leave a comment.