1

I'm trying to set up IIS to run websites instead of running them on VS Development Server. I've registered ASP.NET with IIS correctly (using this answer to make sure), added a new site with the correct physical path, binded an address (site1.com) and added it to the hosts file, but it's not working: it just shows that it's loading endlessly in Firefox.

I'm able to ping site1.com and I get a reply. I'm also able to load http://localhost/ and it shows the default IIS page. What could I be missing?

edit: I've also checked "Use Local IIS Web server" in my project properties

Community
  • 1
  • 1
notAnonymousAnymore
  • 2,637
  • 9
  • 49
  • 74

2 Answers2

0

As per your question, I assume you have 2 sites running (1_Default web site, 2_Site1.com) on your IIS.

Suggest solution : Try to stop your default website and load site1.com in your browser.

Go to site1.com > Right click go to Edit Bindings and set the port number to be 80. try going to site1.com.

Cheers

Muks
  • 134
  • 9
  • The port is 80. I tried stopping Default site but still the same problem - endlessly loading. – notAnonymousAnymore Jun 09 '13 at 20:52
  • If you can let us know more about your application, You can help us help you. for eg. Does it run successfully when you build or run from your visual studio? DB Connections ? Go to IIS Default document > Suggest any page. try using another browser. try iisreset. Have you set your application pool ?? try http://forums.iis.net/t/1187161.aspx/1 – Muks Jun 09 '13 at 21:13
  • Runs fine from VS Dev Server. DB connection isn't the issue because it won't even resolve a static html page. I've tried resetting IIS, and I've set application pool to use .NET v4.0 with integrated pipeline – notAnonymousAnymore Jun 09 '13 at 21:16
-2

I think the issue was multiple versions of IIS on one machine. After formatting the machine, everything works fine.

notAnonymousAnymore
  • 2,637
  • 9
  • 49
  • 74