ServerTune cPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Line HomeAbout ServerTuneContact usTechnical SupportKBResellersSpecial Promotions
Space
Login |
Space
Accessing ServerTune's Knowledgebase

Serious about business? check this out:

Issues, Tips, and Solutions
Space
Search:    Advanced search
Browse by category:
| Glossary |
HowTo :: change or add an IP for a VPS
Printer Friendly
email to a friend
Add comment Add comment
Views: 279
Votes: 0
Comments: 0
Posted: 19 Jun, 2007
by: Support T.
* * * * *
Updated: 15 Sep, 2007
by: Support T.
To change or add one single IP , SSH to the master server and run the following command:
    /usr/sbin/vzctl set VPS_ID --ipadd IP_ADDRESS_TO_CHANGE_OR_ADD --save
To change or add multiple IPs:
    /usr/sbin/vzctl set VPS_ID --ipadd IP_ADDRESS_TO_CHANGE_OR_ADD_1 --ipadd IP_ADDRESS_TO_CHANGE_OR_ADD_2 --ipadd IP_ADDRESS_TO_CHANGE_OR_ADD_3 --save

To delete all IPs:

    /usr/sbin/vzctl set VPS_ID --ipdel all --save

For more information about such commands, SSH to your VPS and run this command:

    /usr/sbin/vzctl --help
Other articles in this Category
document Downloads
document Documentation and HowTo
document Technical Support
document How can I change my VPS time or timezone?
document Can I install two VPSs with two different Operation Systems such as: Windows OS and Linux OS on the same dedicate server?
document HowTo :: change the hostname
document HowTo :: starting, stopping, restarting, and querying status of VPS
document HowTo :: Listing existing VPSs
document HowTo: determine load and memory usage for your VPS
document Unable to open pty: No such file or directory



RSS