Tuesday, October 5, 2010

How to add multiple IPs ?

How to add multiple IPs ?


How to add multiple IPs

Its very easy to add single IP on server from Plesk interface under “IP Addresses” section as it involve only few steps like click on “Add New IP Address” >> enter new IP, Subnet mask and hit Ok.
But its very tiresome if you have to add several IPs say 50, it may take half an hour for you to add 50 IPs.

plesk-86

Well no worries now as we have a alternative for this :)
You can add multiple IPs on your Plesk server in a SINGLE command.

Suppose you have following 50 IPs :-

1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
5.5.5.5
and so on…

Then do the following to add all of them in single shot -

Open your command prompt,
change the directory using command :-

cd %Plesk_bin%

and execute following command :-

ipmanage.exe” –create 1.1.1.1 -mask 255.255.255.0 -interface “\”Local Area Connection”\” -type exclusive -ssl_certificate “Default Certificate”
ipmanage.exe” –create 2.2.2.2 -mask 255.255.255.0 -interface “\”Local Area Connection”\” -type exclusive -ssl_certificate “Default Certificate”
ipmanage.exe” –create 3.3.3.3 -mask 255.255.255.0 -interface “\”Local Area Connection”\” -type exclusive -ssl_certificate “Default Certificate”
ipmanage.exe” –create 4.4.4.4 -mask 255.255.255.0 -interface “\”Local Area Connection”\” -type exclusive -ssl_certificate “Default Certificate”
ipmanage.exe” –create 5.5.5.5 -mask 255.255.255.0 -interface “\”Local Area Connection”\” -type exclusive -ssl_certificate “Default Certificate”

[you can extend this list upto 50 for 50 IPs]

copy above 5 commands and execute as it is on command prompt.
It will add above IPs on your server.

Thats it.

No comments:

Post a Comment