Plesk

How to add a new IP address to a Plesk server

Question

How to add a new IP address in Plesk?

Answer

A new IP address can be added either via the Plesk interface or a command-line interface directly on the Plesk server. Both methods are described below.

 

Adding IP address via Plesk

 

  1. Log in to Plesk.

  2. Go to Tools & Settings and click IP Addresses (Tools & Resources)

  3. On the IP Addresses page, click Add IP Address.

  4. On the Add IP address page, specify a new IP address in the IP address and subnet mask field.

    Additional information

    • If the specified IP address is private, specify its Public IP address, so this IP address will be reachable from the Internet.
    • Select IP address type - shared or dedicated.
    • To add a new IP address with a custom subnet mask, specify "IP address/subnet mask" in one line without spaces. Example: 203.0.113.2/255.255.255.192


  5. Click OK to add the new IP address.

     

    For more information about IP address management, visit:

 

Adding IP address via a command-line interface on Linux

 

  1. Connect to a Plesk server via SSH.

  2. Use the plesk bin ipmanage command to add a new IP address.

    Example:

    Below is an example of adding the IP address 203.0.113.2 with the subnet mask 255.255.255.0 and the shared IP address type on the eth0 network interface:

    # plesk bin ipmanage --create 203.0.113.2 -type shared -mask 255.255.255.0 -interface "eth0"

    where:

    • 203.0.113.2 - an IP address that is going to be added
    • shared - a type of an IP address in Plesk (shared/exclusive)
    • 255.255.255.0 (default value) - a network mask
    • "eth0" - a network interface name

     

    For more information about IP address management via the CLI on Linux, see:

 

 

Adding IP address via a command-line interface on Windows Server

 

  1. Connect to a Plesk server via RDP.

  2. Start a command prompt as an Administrator and use the plesk bin ipmanage command to add a new IP address.

    Example:

    Below is an example of adding the IP address 203.0.113.2 with the subnet mask 255.255.255.0 and the shared IP address type on the "Local Area Connection" network interface:

    C:> plesk bin ipmanage --create 203.0.113.2 -type shared -mask 255.255.255.0 -interface ""Local Area Connection""

    where:

    • 203.0.113.2 - an IP address that is going to be added
    • shared - a type of an IP address in Plesk (shared/exclusive)
    • 255.255.255.0 (default value) - a network mask
    • ""Local Area Connection"" - a network interface name

     

    For more information about IP address management via the CLI on Windows Server, see:

 

Additional Information