ASP.NET domain with redirect setup is not accessible: 404 not found

Created:

2016-11-16 12:41:59 UTC

Modified:

2017-08-08 13:29:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

ASP.NET domain with redirect setup is not accessible: 404 not found

Applicable to:

  • Plesk 12.0 for Windows

Symptoms

ASP.NET domain with redirect setup is not accessible:

404 Not Found
The page you are looking for might have been removed, had it's name changed, or is temporarily unavailable

Domain's web.config file contains redirects similar to:

<add name="sample_folder" virtualUrl="^~/sample_folder/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/default.aspx" ignoreCase="true" />

sample_folder is missing in "%plesk_vhosts%"\\example.com\\httpdocs\\

Cause

Incorrect redirects are setup in web.config file or contents of sample_folder folder are missing

Resolution

Edit web.config file so that it redirects to existing files, or add content to sample_folder folder in "%plesk_vhosts%"\\example.com\\httpdocs\\

Have more questions? Submit a request
Please sign in to leave a comment.