locked
need help on http error 404. the request resource is not found RRS feed

  • Question

  • User-1974373719 posted

    Hi

    I have three systems running on IIS7 with static Ip address 192.168.66.5. I have configired 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 difined them in the router but i need help when I client types ams.tpf.go.tz should directly go to the system without specifying port number because if he doesnot put the port number say http://ams.tpf.go.tz:81 it give me an errros http error 404. the request resource is not found

    Monday, March 24, 2014 9:39 AM

Answers

  • User-1454326058 posted

    Hi muhammed,

    The website URL should have the port to access regardless of access it by IP or host name. By default it used the 80 port, so we needn’t type it again.

    For your requirement, you could create a new application under the website that used the 80 port. (Right click that website in the IIS=>Add Application)

    On the other hand, if you add the host name to the website, you should add the host map to the hosts file that path is C:\Windows\System32\drivers\etc

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 25, 2014 2:16 AM

All replies

  • User753101303 posted

    Hi,

    Try perhaps rather an IIS forum at http://forums.iis.net/ but I don't think you can. The default port for http is 80 and if you don't want to use the default port, I'm afraid you HAVE to tell explicitely which port you want to use.

    I would suggest also to explain your overall goal. If this is a single site, you can perfectly use the IP and port number to expose a single site with mutliple host header names. If they are different sites, there is also no problem to use the same IP and port 80 with distinct host header names. Sor for now I'm not sure why you assign something else than port 80 as it seems that you do want to use port 80.

    Monday, March 24, 2014 9:53 AM
  • User-1454326058 posted

    Hi muhammed,

    The website URL should have the port to access regardless of access it by IP or host name. By default it used the 80 port, so we needn’t type it again.

    For your requirement, you could create a new application under the website that used the 80 port. (Right click that website in the IIS=>Add Application)

    On the other hand, if you add the host name to the website, you should add the host map to the hosts file that path is C:\Windows\System32\drivers\etc

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 25, 2014 2:16 AM