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.

dochangeip + "Sorry, IP is in use by another domain name and is not a shared IP"

Discussion in 'General Discussion' started by rhinocervs, Feb 24, 2005.

  1. rhinocervs

    rhinocervs Registered

    Oct 19, 2004
    Likes Received:
    Trophy Points:
    Message from the title or more specific

    shows everytime I want to change site's IP via

    It didnt show up in previous versions of WHM so all I had to do was to execute that and set NameVirtualHost in order to change dedicated -> shared IP.

    Can somebody tell me how to get functionality I had with ease, because, in order to bypass this IP changing prevention, I had to add 200 reseller accounts and assign 200 different IPs to them, which is more than stupid, but, what else could I do?

    My current WHM version is:

  2. dalem

    dalem Well-Known Member

    Oct 24, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    Reseller Center
    select reseller
    Manage Main Shared/Ipless Ip

    If you allredy added the sites (you should have added them to the corect ip in transfering)

    hard way
    1. cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf .bak (just to be safe)
    2.pico /usr/local/apache/conf/httpd.conf
    3 locate all of the reseller accounts doamins and edit httpd.conf to change to reseller shared ip
    4. edit DNS records of all DNS records to point to shared ip
    5. service httpd restart

    easy way
    1. make a fresh backup of all reseller accounts
    2. Edit Setup change main shared Ip to resellers shared IP & resellers nameservers
    3. delete all reseller accounts
    4. now restore all reseller accounts
    5. done all sites on new shared ip (dont forget to change setup back to the way you had it )

Share This Page