Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

Updating IP after server migration

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
owen821202
Posts: 1
Joined: Tue Dec 22, 2015 8:30 pm

Updating IP after server migration
  • Quote

Post by owen821202 » Tue Dec 22, 2015 8:35 pm

Hi, My hosts have moved my installation to a new virtual server meaning the IP address has changed. I found the following CLI in the list but when I add my IP address to the end I get the following result:

[root@srv1 ~]# v-add-sys-ip 217.148.42.36
Error: not enough arguments
Usage: v-add-sys-ip IP NETMASK [INTERFACE] [USER] [STATUS] [NAME] [NATED_IP]

Can anyone assist in giving the correct details for the bracketed items? I currently have websites whose dns resolves to the correct (new) IP but the sites aren't available as the webserver isn't listening on port 80 (according to host's support team) they suggest that as the vestaCP is pointing to the old IP it needs updating for things to work.

Any help appreciated!
Owen
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Updating IP after server migration
  • Quote

Post by skurudo » Wed Dec 23, 2015 6:55 am

Try to use v-update-sys-ip and add command in autostart.

Code: Select all

/usr/local/vesta/bin/v-update-sys-ip
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password