Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2005 21:39:10 -0400
From:      Tomas Quintero <tomasq@gmail.com>
To:        sn1tch <dot.sn1tch@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD ip alias
Message-ID:  <9e46c99e0505061839d232914@mail.gmail.com>
In-Reply-To: <a82b971905050614194c7a57da@mail.gmail.com>
References:  <a82b971905050614194c7a57da@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/6/05, sn1tch <dot.sn1tch@gmail.com> wrote:
> I have an issue that is driving me mad, it may be something simple
> that I am overlooking but any insight would be great.
>=20
> I have a freebsd machine with 2 nics and one being used. The first has
> 2 ip addresses, one of them via alias. I have BIND listening x.x.x.19
> and regular operations on x.x.x.18. My problem is that apache wants to
> listen on both IPs and I dont want someone being able to point their
> browser at the ns1.domain.com and see a web page, so how do i get
> apache to stop listening on this IP. I have tried binding it to the
> .18 address and even setting Listen x.x.x.18:80 but it still wants to
> go to the main "apache TLS/SSL has been installed" page when i point
> it at x.x.x.19. Any thoughts as to what I might be doing wrong?

Are you using Virtual Hosts? Have you actually tried restarting Apache
since you editted the Listen line?

--=20
-Tomas Quintero



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e46c99e0505061839d232914>