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.

IP Address Usage - Why do IP's disappear once used?

Discussion in 'General Discussion' started by Seriom, Nov 5, 2005.

  1. Seriom

    Seriom Active Member

    Joined:
    Sep 23, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    I am frustrated to no end

    I have 10 available ip's on my server. Every time I create a new account I pick an ip to use for that site. Once I have used an IP for an account, that ip disappears out of the avilable ip list, so when I go to create another account it won't let me use that ip again

    how can I get WHM to allow me to use the same IP for multiple accounts?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    it needs to be a shared ip whm setup shared ip
     
  3. apc1

    apc1 Well-Known Member

    Joined:
    Oct 18, 2004
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    You can't.

    You can have 1 shared IP and all other IP's can only be used once.

    I added a Bugzilla request about this about a year ago whereby a pool of IP addresses can be nominated as shared IP addresses, and the user can pick one when creating a site.

    This seems to me to be a very simple mod, and one that would be very useful for multiple separate IP blocks.

    You can do it manually by creating a site and then editing httpd.conf for the alternative IP address. Be sure you have a "NameVirtual" statement as well for the IP and also you will have to manually edit the NS zone.
     
  4. Seriom

    Seriom Active Member

    Joined:
    Sep 23, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    I must be overlooking it, i don't see "Setup Shared IP" anywhere in the WHM
     
  5. Seriom

    Seriom Active Member

    Joined:
    Sep 23, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    so, i am down to 2 ip addresses left now...what happens when I use those 2 up?

    I have a hosting script that has no trouble assigning multiple accounts to the same ip, and it showing up in WHM that way...so i don't understand why WHM won't allow it on it's own
     
  6. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Whenever I've created an account manually in WHM I've never assigned it an IP and WHM has always set them up using one shared address. Have you tried just not selecting an IP?
     
  7. Seriom

    Seriom Active Member

    Joined:
    Sep 23, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    well, i have specific IP's that I am using for specific things...and I want to keep them grouped like that...

    I also have some specific content sites that I don't want showing up on the same ip as the the non-specific content ip's

    basically, i want to have complete control over the ip address usage
     
  8. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    there is two ways to do what your asking with WHM


    1. create a reseeller account with a different shared ip than your main shared ip and when you want to add a site on that ip add it through the reseller you created


    or

    2 . change the main shared ip between the different ips and add the site then change it back to the ip that suits you for your main ip


    WHM (root)
    Basic cPanel/WHM Setup
    " The IP address that will be used for setting up shared IP virtual hosts. This can only be one address. Do not enter multiple addresses"


    (for resellers)
    Manage Main Shared/Ipless Ip
     
    #8 dalem, Nov 5, 2005
    Last edited: Nov 5, 2005
Loading...

Share This Page