Site preview shows 404 error

Created:

2016-11-16 13:03:40 UTC

Modified:

2017-08-08 13:41:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Site preview shows 404 error

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

When trying to preview a website, a browser shows 404 error. For example:

HTTP Error 404.4 - Not Found 
The resource you are looking for does not have a handler associated with it.
Error Code: 0x8007007b

Or

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Error Code: 0x80070002

Cause

Misconfiguration in %plesk_vhosts%\example.com\httpdocs\web.config file.

Resolution

  1. Reconfigure site preview using the following command:
    "%plesk_cli%\\repair.exe" --reconfigure-site-preview
  2. Check that RewriteModule is disabled in plesk_vhosts%\example.com\httpdocs\web.config file.
Have more questions? Submit a request
Please sign in to leave a comment.