Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

HTTP Error 404.0 - Not Found , plesk, windows server 2016, IIS 10

for loading the index controler index action, codes works fine, but for loading url like this example.com/index/aboutus i get this error

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

Most likely causes: The directory or file specified does not exist on the Web server. The URL contains a typographical error. A custom filter or module, such as URLScan, restricts access to the file.

Things you can try: Create the content on the Web server. Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Detailed Error Information: Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL http://example.com:80/public/index/aboutus Physical Path C:\Inetpub\vhosts\example.com\httpdocs\public\index\aboutus Logon Method Anonymous Logon User Anonymous

More Information: This error means that the file or directory does not exist on the server. Create the file or directory and try the request again. View more information ยป



5.0k
Accepted
answer