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 problems

Discussion in 'General Discussion' started by stephenpl, Apr 16, 2013.

  1. stephenpl

    stephenpl Member

    Joined:
    Jul 7, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am having issues changing a site's IP address. The IP I am trying to use was used by another domain but I removed it from it. But it will now allow me to add it to the new site as it thinks it still in use;

    "Sorry, *.*.*.253 is in use by another domain name and is not a shared ip."

    I have confirmed in "Show IP Usage" and it is showing as now in use. I have also tried to rebuild the IP address pool and still no joy.

    Any idea's?

    Thanks,

    Steve.
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    What do you mean by "removed it from it"?
     
  3. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Seems you didn't understand what OP is asking. He is saying that he removed the ip assigned to a domain and trying to reuse the ip.

    Steve,

    Is this old domain/site still existing on server? If yes, check the zone file and see if the dedicated ip is still there or not.

    You need to check the file /var/named/domain.com.db

    Check the ip in /var/cpanel/userdata/user/ , /var/cpanel/users/user , /etc/domainips . If the dedicated ip is listed in any of the user files, you need to replace it with the required one.

    Once done, you can assign dedicated ip using the following command.

    Cheers!!!
     
  4. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I think I understood what he was asking, but I was not sure what he meant by "removed the ip".
    AFAIK the right way is to go to WHM-> IP Functions-> Change a Site’s IP Address
    That will change the site's IP address, and after that the IP address (if it was a dedicated IP) is free to use.
    That is why I asked "What do you mean by "removed it from it"?, you don't remove an IP, you change it.
     
Loading...

Share This Page