Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 14:56:37 -0600
From:      Server Admin <admin@sage-one.net>
To:        freebsd-questions@freebsd.org
Subject:   Setting up Vhosting on Dynamic IP
Message-ID:  <3.0.5.32.20020312145637.01155d18@mail.sage-one.net>

next in thread | raw e-mail | index | archive | help
Running FreeBSD 4.5-STABLE

On a new server using DSL PPPoE, is it possible to set it up as a
named-based host for vhosting. While I've read up on this and have a fairly
good grasp, I'm still not (precisely) clear where the vhosts' aliases would
go since I use a tunnel interface "tun0" for the external and have a
dynamic IP (use Dynamic DNS host). I have the following components:

1) Web Server is the gateway and a caching name server (named & BIND ) with
two NICs
2) Use Dynamic DNS service
3) Running IPFW and NATD with packet divert to tun0
4) Running Apache & Frontpage
5) Interfaces:
	a) rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
           inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
	b) rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	c) tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
           inet xx.xxx.xx.xxx --> xx.xxx.xx.xxx netmask 0xffffffff 

6) Also should mention the above server is used for mail too. Sendmail &
qpopper which I will have to configure for vhosts too.

THE MAIN QUESTION (so far):
If it is possible to set up virtual hosting without a static IP as above
and if so, should the aliases for each vhost go with the rl0 interface..???

Later on, I plan to move to a static IP with 6MBS DSL speeds, but more
expensive. However, for now, I can make do with the slower DSL for the
less-active hosts being moved over to this server at the beginning.
Unfortunately, it comes with dynamic IP.

Sorry the above is so long, but brief as possible. Appreciate any help on
this.... thanks!
.... our website: http://www.sage-one.net/

Best regards,

Jack L. Stone
Server Admin

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?3.0.5.32.20020312145637.01155d18>