Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 12:28:45 -0400 (EDT)
From:      "David C. Maple" <dmaple@methos.net>
To:        freebsd-questions@freebsd.org
Subject:   Virtual Hosting IP question.
Message-ID:  <Pine.BSF.4.10.9910111219060.67871-100000@zephrey.methos.net>

next in thread | raw e-mail | index | archive | help

I have a server setup to alias several IP addresses.  I'm using the alias
command to ifconfig through my rc.conf:

-- snip --
ifconfig_xl0="inet 216.54.63.12 media 100baseTX netmask 255.255.255.192"
ifconfig_xl0_alias0="inet 216.54.63.30 netmask 255.255.255.192"
ifconfig_xl0_alias1="inet 216.54.63.31 netmask 255.255.255.192"
-- snip --

My question is: Is this the best way to handle virtual hosting.  I assign
each host a new IP, setup named, sendmail(virtuser table), and Apache
virtual host and it seems to work.  But, from within this machine, I
cannot connect to one of the virtual sites.

>ping 216.54.63.30
PING 216.54.63.30 (216.54.63.30): 56 data bytes
^C
--- 216.54.63.30 ping statistics ---
5 packets transmitted, 0 packets recieved, 100% packet loss
>

Do I need to configure some internal routing?
Is there a better way to do the whole thing?

Thanks in advance,

Dave

dmaple@methos.net

  'The bigger it bloats, the harder it falls.'
                -- "The 48 Laws of Power" (R. Greene, J Elffers)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910111219060.67871-100000>