Ability to access only asp.net application on localhost

I am trying to get an asp.net application in IIS on a computer running Windows Server 2008. I can get into the application from localhost, no problem. But I can’t access the application using the server’s domain name either locally or from another computer on the network.

But here is the odd part. I can access the normal file in IIS using the domain name, both from the browser running on the server and from the browser running on another computer on the network. Here's the synopsis ("http" converted to "htp" below, because I don't have enough points to have all of these links in my post):

From IE on the server itself:
htp works: //localhost/foo.htm
htp works: // localhost / The application
works htp: //test.foo.com/foo.htm
dead htp: //test.foo.com/App

From IE on another machine:
running htp: //test.foo.com/foo.htm
dead htp: //test.foo.com/App

And when I say “dead,” I mean that the request is expiring.

Any ideas?

+5
source share
3 answers

I have dealt with this. Basically, the application was redirected to https, but only for remote connections, and IIS is not tied to 443.

+5
source

Say your domain name is the server myServer, and its IP address is 192.168.2.1.

ping - . DOS :

ping myServer

?

, IP- :

http://192.168.2.1/foo.htm

IP, ping , DNS.

  • IIS, (Host Name Edit Bindings ... IIS).
  • DNS-, , db .
  • , hosts .

+1

All Articles