The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it safe to have multiple shared IPs

Discussion in 'General Discussion' started by SpinIT, Jan 8, 2015.

  1. SpinIT

    SpinIT Member

    Joined:
    Jan 8, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    By default WHM allows you to have one main shared IP, then other accounts on their own IP address.

    However you can goto Basic Config, change the primary IP address, then add or change accounts to your second IP address, resulting in something like

    account1.com on xxx.xxx.xxx.111
    account2.com on xxx.xxx.xxx.111
    account3.com on xxx.xxx.xxx.111

    account4.com on xxx.xxx.xxx.222
    account5.com on xxx.xxx.xxx.222
    account6.com on xxx.xxx.xxx.222

    Effectively this allows you to share each IP address over a group of domains, even though the method of changing the IP's is a little convoluted (change the primary IP, change accounts IP, rinse, repeat).

    On the one hand some of the messages in WHM indicate that you should only have one shared IP, and it only lets you change the IP off accounts to whichever IP address you have currently set as the primary - so obviously it's not directly supported.

    On the other hand pages like Manage SSL hosts list all of the domains, and let you "Make Primary" on one account from each group of domains.

    So, does having multiple IP's shared like this cause any problems, or is doing this perfectly normal?

    Is there any reason why they only let you change an account to the main shared IP or a free IP when using the "Change a sites IP address" feature? Why not let you just change it to any IP in the system?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. SpinIT

    SpinIT Member

    Joined:
    Jan 8, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I should have clarified that we aren't using reseller accounts :)

    So there is nothing wrong with doing the method in the OP? In terms of the files it sets up it's probably similar to how it works for the reseller accounts anyway?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The OP hurts my head to think about, sorry.

    To use multiple shared IPs, you create Resellers and give each Reseller his own IP. Hence the link to those Docs.
     
  5. SpinIT

    SpinIT Member

    Joined:
    Jan 8, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Really? It's not that complicated.

    You change your primary IP in the basic config, and can change any account to use that IP. Changing the primary IP doesn't change existing accounts though.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can safely use this method to assign multiple shared IP addresses to your accounts.

    Thank you.
     
  7. SpinIT

    SpinIT Member

    Joined:
    Jan 8, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Great to know, thanks you :)
     
Loading...

Share This Page