httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Olds" <MikeO...@themozone.net>
Subject RE: [users@httpd] Virtual Hosts ?
Date Thu, 02 Jan 2003 01:40:28 GMT
> Michael:  I am currently running an IIS server (nt4) and a DNS server
> (win2k) that I would like to replace with the linux box.  So I'm learning
> the linux world.  Abit not without some pain.
>
> I am actually testing this over the internet.  I am using VPN to
> access all
> three of these servers.  I can modify the httpd.conf file on the linux box
> then stop and restart apache to pick up the changes.  I have a
> FQDN that is
> not in production and I can modify the DNS server on win2k the
> same way.  I
> am testing by pointing my local browser to the ip address of the router
> (which I also configured).   103 is a static address on the server and the
> router ... I'm not using DHCP to get it.
>
> I can configure apache (as described) and get the default site on
> the linux
> box.  If I point the default to the second document root I get the second
> site instead of the default.  So it works okay for one site at at time ...
> either one.
>
> But I want them both to work.  www.domain2.com when requested and the
> default when anything else is requested.  It ought to be simple.
>

Next we ask about /etc/hosts
you need to list all the alternatives:

127.0.0.1  localhost
192.168.1.103 domain1
192.168.1.103 domain2

Best Wishes!
Mike Olds www.buddhadust.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message