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!

Multi-hosted website

Discussion in 'Bind/DNS/Nameserver' started by John Schmerold, May 28, 2018.

  1. John Schmerold

    John Schmerold Well-Known Member

    Joined:
    Apr 21, 2004
    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    st. louis
    cPanel Access Level:
    Root Administrator
    I'd like to have Apache listen on multiple IP addresses. So, if my cpanel server is multi-homed with IP address 10.1.1.1 & 10.2.2.2, I want my homepage to appear on both addresses. Is this possible?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,872
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Apache listens on all the IPs that you have on the server. However, a virtual host will have only one IP address at a time. You cannot have multiple IP address for a single virtual host and also you cannot create same virtual host twice on the same server that will listen on same port.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello, @24x7server was correct in this answer - the only way to achieve what you're requesting would be to create two accounts both of which contain the same domain data and dedicate IP's to them both - though you'd need to manually synchronize any changes.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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