[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Apache Virtual Server Problem



One of the networks I administer, or should I say, attempt to administer,
has a webserver running Apache. This server is inside a network, and is
connected to the outseide world via a gateway, which uses port redirection.

The host name for the websever, is in the hosts file for the gateway,
*running smoothwall by the way* , and clients on the same subnet can type
ourdomain.org and be connected to the webserver. So can people outside the
network.

The problem's begain, when I attempted to host a second website, with a
diffrent domain name. I updated the host file on the gateway, which looked a
little like this...

127.0.0.1 localhost
192.168.1.1 ourdomain.org
192.168.1.1 our.seconddomain.net

etc etc

When ever I attempted to access the second domain, it would show the second
one, BUT when I accessed the first domain, it would ALSO show the second
domain. I had the second domain set up as a virtul server, using webmin. The
base directory is correct, and the site obviously works, because I can see
it, it seems apache can't tell which site to deliver.

Why is this?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]