Symptoms
One or multiple websites in Plesk are not accesible with one of the following errors:
HTTP Error 500.0 - external Server Error Module "PleskUrlProtectionModule" could not be found
HTTP Error 500.0 - external Server Error Module "RewriteModule" could not be found
Cause
One of the necessary modules is not declared in the IIS Server configuration.
Resolution
-
Connect to the server via RDP.
-
Make a back up of the
C:WindowsSystem32inetsrvconfigapplicationHost.config
file. -
Open the original file for editing and add the following line to the
<globalModules>
section:-
For
PleskUrlProtectionModule
:<add name="PleskUrlProtectionModule" image="%windir%System32inetsrvpleskurlprotection.dll" />
-
For
RewriteModule
:<add name="RewriteModule" image="%SystemRoot%system32inetsrvrewrite.dll" />
-
-
Save changes and close the file.
-
Start the Command Prompt as Administrator.
-
Apply the new configuration by restarting the IIS service with the command below:
Note: It will cause temporary inaccessibility of all other websites hosted on the server until the service is fully restarted
iisreset