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

Internal IP Address Changed

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
phocks
Posts: 5
Joined: Sun Dec 07, 2014 12:39 pm

Internal IP Address Changed
  • Quote

Post by phocks » Mon Feb 02, 2015 3:19 am

Hi there, I changed the internal IP address in Vespa, because we migrated to a new Google Cloud instance, but the external address hasn't changed, and now nginx and apache2 aren't starting up and our websites aren't running.

I'm getting this error when I try to start nginx:
nginx: [emerg] bind() to 10.240.155.118:443 failed (99: Cannot assign requested address)

Which is our old IP.

Just wondering how I might go about fixing this.
Top

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

Re: Internal IP Address Changed
  • Quote

Post by skurudo » Mon Feb 02, 2015 7:48 am

It's simple.

Find please in /etc/apache2/conf.d/10.240.155.118.conf (or in /etc/httpd/conf.d/ for CentOS) and /etc/nginx/conf.d/10.240.155.118.conf

Move these files to your home directory (or delete).

After that restart nginx and apache2 (httpd in CentOS)
Top

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

Re: Internal IP Address Changed
  • Quote

Post by skurudo » Mon Feb 02, 2015 7:49 am

And check your old IP in this forder - /usr/local/vesta/data/ips/
Top


Post Reply
  • Print view

3 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
 

 

Login  •  Register

I forgot my password