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!

How do convert a dedicated ip on a shared ip?

Discussion in 'General Discussion' started by capoinfra, Jul 26, 2011.

  1. capoinfra

    capoinfra Well-Known Member

    Oct 25, 2007
    Likes Received:
    Trophy Points:

    How do convert a dedicated ip to a shared ip?

    I have an IP that is dedicated to a single site.

    I need another site shares the same IP

    But I do not understand how to add the site to the dedicated IP (and, convert this dedicated ip in shared ip)

    I can't do it from "change site's ip address"

    Thank you.-
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    In root SSH, copy the /etc/domainips file and then remove the IP from it:

    cp /etc/domainips /etc/domainips.bak110726
    vi /etc/domainips
    You'll see a line for the IP like the following that you'd remove from that file:

    Where IP# is the dedicated IP and is the current domain using that IP.

    After removing that line, then go to WHM > Resellers > Reseller Center > Add Reseller Privileges and make either that account or the other account a reseller (or create a new account first that will be the reseller owning both accounts).

    After some account has reseller privileges, then back in Resellers area, "Change Ownership of Multiple Accounts" and select the reseller that should own the accounts that will be sharing the IP, and check the box next to each account that should be owned by that reseller. Click the "Change Owner of Select Accounts" button to switch ownership for those accounts.

    Next, back in Resellers area, select "Manage reseller's main/shared IP" option, select the reseller you've created, click the "submit" button, then select the IP in the dropdown and click "Save" button.

    At this point, you should now be able to go to WHM > IP Functions > Change Site's IP address area and select that IP as a new one for the other account. You should be able to share that IP for any accounts that the reseller will own.
    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