Browsing to a site on port 8080 Windows Server 2008 IIS 7

I have a Win 2008 Server VPS with IIS 7

I created a new site (alongside with the Default site that runs on port 80). The new site was given a port 8080.

From my local dev machine, if i browse to the site using:

http://66.71.xxx.xxx:8080/

I get a not found error. If I go to:

http://66.71.xxx.xxx

then I see the IIS 7.0 page.

From the server, I can browse the site with port 8080, why can't I do it from outside the network?

Also, can I have a Default site running on a location other than c:\inetpub\wwwroot without jumping through a bunch of hoops?

Thanks!


Is the server sitting behind a firewall that only opens port 80, not 8080? That would be my first guess, but hard to know without knowing how the server is configured, where it sits etc.


Here are the steps to create a Rule..

  • Click Start -> Administrative Tools -> Windows Firewall with Advanced Security
  • Click on Inbound Rules
  • In Actions panel -> click New Rule...
  • In New Inbound Rule Wizard..
  • In Rule Type -> select "Port" -> Next
  • In Protocol and Ports -> select "TCP" -> select Specific local ports: "8080" -> Next
  • In Action -> select "Allow the connection"
  • In Profile -> select "Domain", "Private" and "Public"
  • In Name -> Give a suitable name to identify your rule e.g.: "World Wide Web Services (HTTP 8080 Traffic-In)"


For your second question check this out Configure Web site content location in IIS 7 / 7.5