Answered by:
HTTP Error 404. The requested resource is not found.

Question
-
User-1693959359 posted
Hi there,
I create a website in iis10, it works fine with localhost, but when i try to run the website with ip address, but it shows HTTP Error 404. The requested resource is not found.
Does anyone know why this is?
Thursday, May 27, 2021 7:26 PM
Answers
-
User690216013 postedDoes anyone know why this is?
Because different URLs lead to different HTTP requests, and then IIS site bindings handle them differently, https://docs.jexusmanager.com/tutorials/binding-diagnostics.html
- Marked as answer by An0nym0u5User Thursday, June 17, 2021 12:00 AM
Thursday, May 27, 2021 9:07 PM -
User1065476709 posted
Hi wacmy,
I create a website in iis10, it works fine with localhost, but when i try to run the website with ip address, but it shows HTTP Error 404. The requested resource is not found.There are many reasons for this error, did you try to put any files in the folder, such as an Default.htm?
You can try to ping localhost and ping 172.16.4.3, check if they are successful.
And you can post HTTPS bindings for the web site, which is the content under the <site> node in the applicationHost.config.
Best regards,
Sam
- Marked as answer by An0nym0u5User Thursday, June 17, 2021 12:00 AM
Friday, May 28, 2021 9:32 AM
All replies
-
User690216013 postedDoes anyone know why this is?
Because different URLs lead to different HTTP requests, and then IIS site bindings handle them differently, https://docs.jexusmanager.com/tutorials/binding-diagnostics.html
- Marked as answer by An0nym0u5User Thursday, June 17, 2021 12:00 AM
Thursday, May 27, 2021 9:07 PM -
User1065476709 posted
Hi wacmy,
I create a website in iis10, it works fine with localhost, but when i try to run the website with ip address, but it shows HTTP Error 404. The requested resource is not found.There are many reasons for this error, did you try to put any files in the folder, such as an Default.htm?
You can try to ping localhost and ping 172.16.4.3, check if they are successful.
And you can post HTTPS bindings for the web site, which is the content under the <site> node in the applicationHost.config.
Best regards,
Sam
- Marked as answer by An0nym0u5User Thursday, June 17, 2021 12:00 AM
Friday, May 28, 2021 9:32 AM