Re: apache vhost: remote document root
On Wednesday, January 04, 2012 05:20 PM, Victor Nitu wrote:
Do you want system2 to be a file server only or a web server? They
require complete different set-ups.
-----BEGIN PGP SIGNED MESSAGE-----
I have a minor configuration problem, and I need your help.
On my home network, apache is working fine with vhosts, but I need a
way to redirect inbound traffic requiring a specific address to another
host on my LAN.
The problem seems to be quite simple: from my point of view, it's as
easy as declaring a remote document root for my vhost, but I don't know
if there exists such feature in apache web server.
INTERNET - [ NAT] [ ]
via PPPoE [gateway] - [ client]
- - system1 is connected directly to internet via PPPoE, and is acting
like a gateway, with NAT enabled and other network services running
- - I have two domain names (domain1,domain2), both operated by
freedns.afraid.org service which allows me to reach my machines from
the web. Update is done on ifup by inadyn on both systems
- - there I have system2 in my LAN, who needs to be accessed from
exterior via domain2, but the request reaches my system1 first, and I
need to redirect somehow the traffic to domain2
Right now, both domains point to the same IP, which is the way it
I got myself a bit tangled in this setup, so I need some guidance
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Debian GNU/Linux - Romania
-----END PGP SIGNATURE-----