Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Change main IP

General questions about VestaCP
Locked
  • Print view
Advanced search
10 posts • Page 1 of 1
leonardoasb
Posts: 10
Joined: Fri Dec 25, 2015 12:55 pm

Change main IP

Post by leonardoasb » Mon Feb 01, 2016 5:00 pm

Hi,

I'm changing provider and am with the following difficulty . To perform the migration can not make the Vesta understand that the main ip changed , thus apache and nginx do not start.

Already follow some instructions here forum , but to no avail .

Could someone tell me how I change the ip , I'm using CentOS 7.1 x64 hundreds

I thank you for your help :)
Top

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

Re: Change main IP

Post by skurudo » Mon Feb 01, 2016 5:52 pm

You can try use /usr/local/vesta/bin/v-update-sys-ip
or script from forum - viewtopic.php?t=5975
Top

leonardoasb
Posts: 10
Joined: Fri Dec 25, 2015 12:55 pm

Re: Change main IP

Post by leonardoasb » Mon Feb 01, 2016 6:04 pm

Thanks for the quick response!

The topic of the file no longer is available to download, can provide me ?
Top

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

Re: Change main IP

Post by skurudo » Mon Feb 01, 2016 6:07 pm

leonardoasb wrote: The topic of the file no longer is available to download, can provide me ?
Option 2 - Long way Create it yourself
all code for this file in topic.
Top

leonardoasb
Posts: 10
Joined: Fri Dec 25, 2015 12:55 pm

Re: Change main IP

Post by leonardoasb » Mon Feb 01, 2016 6:15 pm

I take that code and saved with .sh it?
Top

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

Re: Change main IP

Post by skurudo » Mon Feb 01, 2016 6:17 pm

leonardoasb wrote:I take that code and saved with .sh it?

Code: Select all

touch /usr/local/vesta/bin/v-change-server-ip

Code: Select all

chmod 0755 /usr/local/vesta/bin/v-change-server-ip

Code: Select all

nano /usr/local/vesta/bin/v-change-server-ip
and paste code... step by step.
Top

leonardoasb
Posts: 10
Joined: Fri Dec 25, 2015 12:55 pm

Re: Change main IP

Post by leonardoasb » Mon Feb 01, 2016 6:25 pm

Thank you for your patience to explain step by step.

I will test and soon put the result here .

Thank you so much.
Top

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

Re: Change main IP

Post by skurudo » Mon Feb 01, 2016 6:27 pm

leonardoasb wrote: I will test and soon put the result here .
Second way with script may be not ideal, but it can save your time anyway.
Good luck ;-)
Top

leonardoasb
Posts: 10
Joined: Fri Dec 25, 2015 12:55 pm

Re: Change main IP

Post by leonardoasb » Tue Feb 02, 2016 10:35 am

Sku all, thank you.
Everything working!
Again, grateful.
Top

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

Re: Change main IP

Post by skurudo » Tue Feb 02, 2016 10:38 am

Thanks ;-)
Have a nice day.
Top


Locked
  • Print view

10 posts • Page 1 of 1

Return to “General Discussion”



  • 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
 

 

cron

Login  •  Register

I forgot my password