Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP error 404: The request resource is not found

Tags:

iis-7

I have three systems running on IIS7 with static IP address 192.168.66.5. I have configured the system to run on the same IP address with different ports and subdmain like;

  1. 192.168.66.5:81 hostname ams.tpf.go.tz

  2. 192.168.66.5:82 hostname gmis.tpf.go.tz

  3. 192.168.66.5:83 hostname records.tpf.go.tz

  4. 192.168.66.5:84 hostname cmis.tpf.go.tz

I configure all these on IIS7 and defined them in the router.
When the client opens ams.tpf.go.tz without specifying the port number, the error 404 is returned: the requested resource is not found.

like image 921
user3455746 Avatar asked Jul 05 '26 21:07

user3455746


2 Answers

This recently occurred to me also - make sure your IIS Website is started - mine had been stopped. This is the error I was receiving in Visual Studio:

Unable to start debugging on the web server. The web server could not find the requested resource.

Right Click on your Website (i.e. Default Website) in IIS Manager and click Manage Web Site --> Start.

Navigating to any applications in the IIS Website was showing this error:

HTTP Error 404. The requested resource is not found.

like image 106
SliverNinja - MSFT Avatar answered Jul 08 '26 11:07

SliverNinja - MSFT


The easiest way to achieve this is to set the port 80 for the site you want to be the "default" one, since this is the default HTTP port.

like image 37
bosnjak Avatar answered Jul 08 '26 11:07

bosnjak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!