Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

two ips, apache ignores bindaddress

Discussion in 'Bind/DNS/Nameserver' started by Apolyton, Apr 24, 2003.

  1. Apolyton

    Apolyton Registered

    Joined:
    Apr 24, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    i'm trying to runing a second httpd alongside with apache. i've added a second ip with whm, but i cant get apache to let go of it!

    i've used the listen and bindaddress in the apache conf to tell it to bind to the first ip

    but somehow apache is taking the second as well!

    the result is that my second httpd refuses to run as the ip address is already in use by apache

    any ideas?
     
  2. Apolyton

    Apolyton Registered

    Joined:
    Apr 24, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    I'd say both Apaches can listen on all IPs. It's the port number that you can't bind to more that one of them. What are the Bind and Listen directives you set up for each Apache?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Apolyton

    Apolyton Registered

    Joined:
    Apr 24, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    actually, i dont try to run a second apache. the second httpd i try to run is boa

    apache's listen and bindaddress directives are set on the first ip, with no specific port mentioned

    boa is set on the second ip


    i even tried to shutdown apache, run boa and then try to start apache. boa worked, apache seemed to be running but no site worked! :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice