Articles in this section

How to add a new IP address to Plesk

Plesk for Windows Plesk for Linux ABT: Group B kb: auxiliary

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

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.

Plesk interface
  1. Log in to Plesk.
  2. Go to Tools & Settings and click IP Addresses (Tools & Resources)


    Tools___Resources.png
     

  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


    Screenshot_2019-05-04_Add_IP_address_-_Plesk_Onyx_17_8_11.png
     

  5. Click OK to add the new IP address.

    For more information about IP address management, visit:

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 - IP address that is going to be added
    • shared - type of an IP address in Plesk (shared/exclusive)
    • 255.255.255.0 (default value) - network mask
    • eth0 - network interface name

     

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

 

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 - IP address that is going to be added
    • shared - type of an IP address in Plesk (shared/exclusive)
    • 255.255.255.0 (default value) - network mask
    • \"Local Area Connection"\ - network interface name

     

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

 

Additional Information

  • If the IP address has already been added to the network interface by means of operating system tools, to register this IP address in Plesk, go to Tools & Settings > IP Addresses and click Re-read or run the following command in a command-line interface:

    # plesk bin ipmanage --reread

  • To add a new IP address in Plesk on a cloud service, visit this KB article.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.