[ale] Can't use public IP on local network
Kenneth Ratliff
lists at noctum.net
Mon Apr 13 18:56:33 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 13, 2009, at 2:00 PM, Richard Bronosky wrote:
> I see that you mention VirtualHosts. The weakness here is that each
> "machine" [interface/IP] can only be known by one name. Therefore,
> this does not help you with "name based virtual hosts" (VirtualHost
> *:80; ServerName myhost.mydomain) if you have multiple ServerNames
> that you would like to go to a single IP.
Sure you can, just need a NameVirtualHost directive, unless I'm
totally misunderstanding you. But I can have apache answer for 30
different domains if I want, all on the same IP.
> *I believe* that /etc/hosts is for name resolution that is unique the
> the client on which the /etc/hosts file resides (read: not common to
> the rest of the network). When you have a name resolution need that
> should apply to all/many clients, it should be maintained in some
> centralized manner. /me steps down from soapbox
Correct, hosts files are only locally significant.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)
iEYEARECAAYFAknjwyQACgkQXzanDlV0VY7y/gCg2dr5HIq13QKID+NHYjDSCJ8R
ZiYAmwVLwlybNXCAhD+/ZuuUrMW6+q2z
=YNmP
-----END PGP SIGNATURE-----
More information about the Ale
mailing list