httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Buczek" <>
Subject AW: [users@httpd] Mangled my Virtual Hosts
Date Thu, 26 Mar 2009 09:33:37 GMT
Von: Joseph Morgan [] 
Gesendet: Donnerstag, 26. März 2009 03:21
Betreff: [users@httpd] Mangled my Virtual Hosts


I have somehow mangled my virtual hosts.. or so I think. I have two web 
sites, and, among others hosted on the same machine. 
If you visit, you'll see 
"ProSportsResumes" in the title, but the content of both are correct.

My host machine is behind a router with port forwarding turned on. All 
incoming traffic on port 80 is forwarded to this machine. 

The "hostname" command returns "WEBHOST"

My hosts file has entries like: localhost

My httpd.conf has this line as it should:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

And my httpd-vhosts.conf has:


DocumentRoot X:/webs/ProSportsResumes

DocumentRoot X:/webs/VideoFortWorth

Any ideas are appreciated.
Joe Morgan



Hi Joe,


I´m not sure, but I mean you must enter another IP for your NameVirtualHost.


So your Domain has the public IP . That’s  the router with
port forwarding to your webserver in a non-public net (like 10.0.0.x /
192.168.0.y / ..)

If your webserver have the IP, for example, you has to be entered
this IP for NameVirtualHost.


Another idea is to catch all incoming requests on this webserver like in
this config:




<VirtualHost *:80>

    DocumentRoot (anyPath)



    ServerAdmin (anyMailAddy)

    ErrorLog (anyPath)

    CustomLog  (anyPath)







Hope one of these ideas works,



Christian Buczek



View raw message