Asp.net Hosted application do not Access in Intranet (LAN) With Host Header While It Is Accessing When Host Header Remove via IP?

StackOverflow https://stackoverflow.com/questions/19315382

  •  30-06-2022
  •  | 
  •  

Domanda

i am trying to access hosted asp.net application in intranet (LAN) via Host header it do not found web while in the mean time it can be access if i remove host header via ip address and port ?

i host application on port 80 with host header,

scoring.com is host header with port 80

it is accessible in local system but do not access on LAN on other systems,

http://scoring.com

server not found error

after that when i remove host header and just call it via IP on other system over network as well as local system it works fine like,

http://192.168.1.4:80 

what configuration is missing that it is not working on local network when host header apply to it ??

Hopes for your suggestions Thanks !

È stato utile?

Soluzione

It seems that your host name is not registered in the DNS.

You can test this by running ping [hostname] command, If the output is Ping request could not find host [hostname] then it's not registered, or nslookup [hostname] command.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top