ASP.NET Internal Web Application Hosting

  • Thread starter Thread starter justin_dabs
  • Start date Start date
J

justin_dabs

Hi Group,

I was wondering if someone could help. I've made a really simple
asp.net application site ('hello world') which works fine when I type
into my browser http://localhost/HelloWorld/

What I'd like to do, is to resolve a name e.g.
http://www.HelloWorld.com to the ASP.NET web application. So instead
of creating a Virtual Directory in IIS, I would like to create a new
Web Site and assign it an IP address from my private internal network,
192.168.0.10.

I have an internal DNS server, on my PDC which I have configured to
resolve http://www.HelloWorld.com to 192.168.0.10, however I keep on
getting an error in my browser. When I check
http://localhost/HelloWorld/ the application works.

It doesn't even work when I type in the IP address into the Address
bar in IE.

Can anyone help me with the theory on how to Host an ASP.NET
application by IP instead of creating a Virtual Directory in IIS, OR
is there another way that I've not seen yet please.

thanks

justin
 
Just create an ASP.NET web app using the machine name that is running IIS.

If your machine is named testServer, then create an ASP.NET project at
http://testServer and you'll be able to call it that way.

ASP.NET requires that all webs created be in IIS virtual directories.
 
Back
Top