Skip to main content
edited tags
Link
HackToHell
  • 6.4k
  • 3
  • 40
  • 63
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Added recent certificate on localhost discovery
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9

Latest: WhatRecent Discovery

With IIS set back to port 80, when I put in http://localhost/ on the WHS computer, it gives me the "There is a problem with this website's security certificate" warning page. If I "Continue" anyway, this url comes up https://localhost/Remote/logon?ReturnUrl=%2fremote for a Windows Home Server 2011 Remote Web Access for a username and password. Now, I cannot recall for sure, but I do not believe that originally just a http://localhost/ brought up this issue. However, it seems as though this might affect any attempts to access localhost (no matter the port).

What may actually be the main issue

Latest: What may actually be the main issue

Recent Discovery

With IIS set back to port 80, when I put in http://localhost/ on the WHS computer, it gives me the "There is a problem with this website's security certificate" warning page. If I "Continue" anyway, this url comes up https://localhost/Remote/logon?ReturnUrl=%2fremote for a Windows Home Server 2011 Remote Web Access for a username and password. Now, I cannot recall for sure, but I do not believe that originally just a http://localhost/ brought up this issue. However, it seems as though this might affect any attempts to access localhost (no matter the port).

What may actually be the main issue

Added info based off harrymc's recommendations for review
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9

Representative code based on harrymc's recommendations... still not working

IIS port set to :90.

httdp file:

Listen *:80
ServerName localhost:80

vhosts file:

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName localhost
    ProxyRequests off
    ProxyPass / http://127.0.0.1:90/
    ProxyPassReverse / http://127.0.0.1:90/
</virtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site1.net/httpdocs"
    ServerName test.site1.net
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site2.net/httpdocs"
    ServerName test.site2.net
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site3.com/httpdocs"
    ServerName test.site3.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site4.com/httpdocs"
    ServerName test.site4.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site5.com/httpdocs"
    ServerName test.site5.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

Representative code based on harrymc's recommendations... still not working

IIS port set to :90.

httdp file:

Listen *:80
ServerName localhost:80

vhosts file:

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName localhost
    ProxyRequests off
    ProxyPass / http://127.0.0.1:90/
    ProxyPassReverse / http://127.0.0.1:90/
</virtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site1.net/httpdocs"
    ServerName test.site1.net
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site2.net/httpdocs"
    ServerName test.site2.net
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site3.com/httpdocs"
    ServerName test.site3.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site4.com/httpdocs"
    ServerName test.site4.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/Users/Public/LocalWebsites/site5.com/httpdocs"
    ServerName test.site5.com
    ProxyRequests off
    ProxyPass / http://127.0.0.1/
    ProxyPassReverse / http://127.0.0.1/
</VirtualHost>
Added info for new issue of proxy
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
fix link
Source Link
Lèse majesté
  • 3.3k
  • 1
  • 20
  • 23
Loading
Added IIS rewrite info
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Changed title again.
Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Shortened title and changed a tag
Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Restated what I believe to be the main issue: port forwarding.
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Added further info
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Tweeted twitter.com/#!/StackSuper_User/status/193204433914572801
Notice added Draw attention by ScottS
Bounty Started worth 50 reputation by ScottS
Changed title to hopefully generate interest; Post Made Community Wiki
Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Added notes about original and updated issues
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
added 18 characters in body
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
deleted 5 characters in body
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
added 32 characters in body
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
added 23 characters in body
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Fixed url in vhosts to be correct
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
deleted 11 characters in body
Source Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Tweaked title
Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading
Changed title to target different set of eyes
Link
ScottS
  • 153
  • 1
  • 2
  • 9
Loading