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.
-
Go to Tools & Settings and click IP Addresses (Tools & Resources)
-
On the IP Addresses page, click Add IP Address.
-
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
-
Click OK to add the new IP address.
For more information about IP address management, visit:
-
Connect to a Plesk server via SSH.
-
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:
-
Connect to a Plesk server via RDP.
-
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
-
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.
Comments
11 comments
This site does not work, it crashed the dedicated server !!!
Hello @Lobbé Maxime
Usually, this causes no issues.
As I can see, you've created a ticket and it's currently under investigation.
well I usually do not know, but one thing is about it is that my dedicated server crash and I have to reinstall Ubuntu on it and all over again
I'd recommend next time to get in touch with technical support to find out what resulted in such behavior. Currently, we don't have any bugs/known issues related to this guide.
I'm trying to add an IP address via Onyx 17.8, under Tools & Settings > IP Addresses
I have the option to "Reread IP" or "Remove", there is no "Add IP Address" as mentioned in this article.
I could try via command line, but why is the "Add IP Address" button missing here?
Hi @Brent,
The most probable reason is that Plesk is installed in a Virtuozzo or Docker container.
In case it is so, do the following:
Add a new IP address(es) to a container with Plesk on a hardware node.
Log into Plesk and click Reread IP in Tools & Settings > IP Addresses.
Hi guys, I've a problem. I added a new IP and all goes ok. but why when i visit the second ip added gives me "connection time out" ?
@Andrea Puglisi several reasons:
1. Blocked by firewall
2. Does this IP present in Plesk Tools & Settings > IP Addresses? If no click reread there.
If the issue is still persists please create a ticket to our support.
I am changed ip Address Of Ethernet on Windows And Updated IP address on Web Hosting Access per Domains .
Finally i can not Remove old Ip Address .
Also Plesk Reconfigurator not working to solve my Problem .
Please Guide Me. thanks
Kiani Please refer to the following articles: https://support.plesk.com/hc/en-us/articles/213904005-Unable-to-remove-an-IP-address-in-Plesk-The-IP-address-is-already-used-for-hosting and/or https://support.plesk.com/hc/en-us/articles/360010206620-Cannot-remove-IP-address-The-IP-address-203-0-113-2-is-already-used-for-hosting.
If that does not help please open a support ticket with us here: https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-
If add an ip range, for example : 123.123.123.123/255.255.255.252 who has 4 IPs Plesk only shows me first. Do I have to add 4 times with 255.255.255.254 ?
Please sign in to leave a comment.