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!

Listen on multiple IPs for one domain?

Discussion in 'Bind/DNS/Nameserver' started by Erik Knepfler, Sep 15, 2017.

  1. Erik Knepfler

    Erik Knepfler Member

    Sep 2, 2014
    Likes Received:
    Trophy Points:
    Long Beach, California, United States
    cPanel Access Level:
    Root Administrator
    I need a step by step instruction on how to make a cPanel Apache system listen on multiple IPs for a single domain.

    The reason is for SSL installation - the site is on a shared IP currently, so I have to move it to a dedicated IP. This requires a DNS change which will create a brief outage. To avoid this outage, I'd like to have the server listen on multiple IPs simultaneously for this domain. Once the DNS is finalized, I can remove the first IP. But I cannot figure out how to do this.

    The file /var/cpanel/userdata/accountname/ has one line with:


    I tried adding a second IP to the right of that with a space but it just broke the whole site.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    While it's supported by Apache 2.4, I don't believe cPanel/WHM will recognize multiple IP addresses assigned to a single Virtual Host. I recommend opening a feature request if it's an option you want to see configurable in WHM:

    Submit A Feature Request

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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