How to Share Multiple IP Addresses


Last modified: September 28, 2020

Overview

The cPanel & WHM interfaces allow a reseller to share a single IP address with its accounts. They also allow the system to share a single IP address with multiple resellers. However, many hosting providers wish to allow a each reseller to use its own IP address to share with accounts. This is useful, for example, when a customer causes a poor reputation or spamlisting of a reseller’s IP address. The hosting provider can isolate the other resellers and IP addresses from the customer with the poor reputation.

This document demonstrates how to share multiple IP addresses with cPanel & WHM.

Create resellers that share multiple IP addresses

Note:

The following procedure demonstrates the full process. If accounts already exist on your server, you can skip any unnecessary steps, such as account creation, package creation and assignment, and other unnecessary steps.

Log in to the server

Log in to WHM as the root user.

Add IP addresses

  1. Navigate to WHM’s Add a New IP Address interface (WHM » Home » IP Functions » Add a New IP Address).

  2. Add the IP addresses to the server.

Reserve the IP addresses

  1. Navigate to WHM’s Reserved IP Address Editor interface (WHM » Home » Service Configuration » Apache Configuration).

  2. Reserve the addresses that you added in Step 2 so the system administrator cannot dedicate them to a particular user.

  3. Enter the name of the resellers that will own each IP address in the appropriate Notes text boxes

Rebuild the IP address pool

Navigate to WHM’s Rebuild the IP Address Pool interface (WHM » Home » IP Functions » Rebuild the IP Pool) and rebuild the IP address pool.

Create the reseller accounts

  1. Navigate to WHM’s Create a New Account interface (WHM > Home » Account Functions » Create a New Account) and create an account with reseller privileges.

  2. Repeat this process to create additional reseller accounts.

Create packages for the resellers

Navigate to WHM’s Add a Package interface (WHM » Home » Packages » Add a Package) and create the necessary packages for the resellers to use.

Configure the resellers

  1. Navigate to WHM’s Edit Reseller Nameservers and Privileges interface (WHM » Home » Resellers » Edit Reseller Nameservers and Privileges).

  2. Select the reseller that you wish to edit and click Submit.

  3. Select the appropriate packages for the reseller.

    • If the resellers already own accounts and you wish to allow them to change these accounts to the new shared IP addresses, you will need to select Everything - All Features to the reseller.

      Warning:
      This action grants full root-level access to the reseller accounts.

    • If you do not wish to allow the resellers to change their own accounts, use WHM’s Change Multiple Sites’ IP Addresses interface (WHM » Home » Multi Account Functions » Change Multiple Sites’ IP Addresses) to change their IP addresses for them.

      Warning:
      Coordinate this process with your resellers to schedule any necessary changes to DNS entries and downtime for their their clients’ domains.

  4. Click Save All Settings.

  5. Repeat this process for each reseller.

Change the resellers IP shared addresses

  1. Navigate to WHM’s Manage Reseller’s Shared IP interface (WHM > Home » Resellers » Manage Reseller’s Shared IP).

  2. Select the reseller that you wish to edit and click Submit.

  3. Select the shared IP address for the reseller to use and click Save.

  4. Repeat this process for each reseller.

Additional Documentation