You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stand H <hs...@yahoo.com> on 2003/07/21 09:31:58 UTC

[users@httpd] multiple ip to the same website

Hi,

I want to configure my web server to host multiple web
site. Each web site I assign a static IP.
web site A 192.168.0.1
web stie B 192.168.0.2
web stie C 192.168.0.3
When user type http://192.168.0.1, http://192.168.0.2,
http://192.168.0.3, I want my web server to load web
site A. Web site B and C can only be reach via it host
name though they have thier own IP.

What I have done is put web site A in the server
config context and web site B and C in the vitual host
but when I type http://192.168.0.2 I always get web
site B. I don't want to get web site B, I want to get
only web site A when user access via IP address.
Thanks in advance.

Stand

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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