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 Web Server
  • Search

Moving Vesta from one server to another

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
appsforce
Posts: 5
Joined: Tue Apr 30, 2019 7:45 pm

Os: Ubuntu 15x
Web: apache + nginx
Moving Vesta from one server to another
  • Quote

Post by appsforce » Tue Apr 30, 2019 7:58 pm

Hi,

I have image with VestaCP and a web site on IP address 1.2.3.4 for example. If make and image of that server and create a new instance of that server on IP address 5.6.7.8, VestaCP works fine on port 8083. However Apache and NGinx fail to start.

In the config files of both apache and nginx it says %ip%proxy_port in the usr/local/vesta/data/templates/web and that %ip on the new instance is IP of the old instance.

1) Where do I change that %IP variable?
2) How can I check the IP address of the server and use that instead? hostname -I for example gives correct IP of the server.
Many thanks
Top

webhostingux
Posts: 4
Joined: Tue Apr 30, 2019 10:16 pm
Contact:
Contact webhostingux
Website

Os: CentOS 6x
Web: apache + nginx
Re: Moving Vesta from one server to another
  • Quote

Post by webhostingux » Wed May 01, 2019 12:06 am

Do You get some error log?

I think You should change IP in each vhost at /home/admin/conf/web . You can use sed command to update it in bulk but make sure to do backup first.


------------
Jasa manage vps | Jasa setting vps
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • 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