httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <br...@dessent.net>
Subject Re: [users@httpd] binding domain to IP
Date Thu, 08 Jan 2004 22:32:27 GMT
Payal Rathod wrote:

> I am trying virtual domains under apache on test machine. If I have 3
> domains on ip 192.168.0.1, how can I have such that when I type
> http://192.168.0.1 in browser, domain3-local.com should be seen?
> I am using httpd2. If this is not possible I can have another IP alias
> to the same nic, say 192.168.0.2 - just for domain3-local.com

Try listing that domain (domain3-local) as the first in the conf file,
before any other vhosts.  Apache uses the first vhost container as the
"default" for requests without an explicit hostname, if I recall
correctly.

Brian

---------------------------------------------------------------------
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