Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

apache listenning two ip addresses.

Hello Guys,

I am in the middle of an ip scheme migration and I would like to do it without any downtime. How do I configure Apache to listen to two ip addresses? Traffic comming in on both ip addresses should show the same website. I know I will have to configure virtual ip addresses with `ifconfig` but I am iffy on the Apache configs. Thanks in advance.
0
kamarja
Asked:
kamarja
1 Solution
 
mglxxxCommented:
If you didn't specify any 'Listen' directives in
the httpd.conf (Apache 1.3) or only specified a port
in the Listen directive (Apache 1.3 and 2.0), Apache
should do a wildcard listen,
i.e. listen on all addresses of the box.

If you want to make is listen to specific addresses,
use the 'Listen' directive. See the docs for that
directive at:
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#listen
0
 
kamarjaAuthor Commented:
Thank You mqlxxx
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now