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 Debian/Ubuntu
  • Search

2 vesta panels on 1 single static ip

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
mach
Posts: 77
Joined: Tue Oct 27, 2015 6:34 pm

2 vesta panels on 1 single static ip
  • Quote

Post by mach » Wed Oct 28, 2015 11:39 pm

if you have 2 fast computer in your network and you dont know how to set up

i have years running zpanelcp on single ip on windows and ubuntu on single ip and more

http://iws.io/multiple-web-servers-over ... rse-proxy/ this is a good start the do that.
NameVirtualHost *:80

<VirtualHost *:80>
ServerName server1 (this is your computername (name it like this is alot easy than)

DocumentRoot /srv/www/default

<Location "/">
Order Deny, Allow
Deny from all
Allow from all
</Location>
</VirtualHost>

<VirtualHost *:80>
ServerName server2 = (is your computer 2 ) in a browser you can contact it like this http://server2 and if the proxyis good setup you are able to handle all domains and subdomains from that server two..

ProxyPreserveHost on
ProxyPass / http://server2/
ProxyPassReverse / http://server2/
</VirtualHost>

<VirtualHost *:80>
ServerName server3 = computer 3


ProxyPreserveHost on
ProxyPass / http://server3/
ProxyPassReverse / http://server3/
</VirtualHost>


all you have the do is make that the landing server find your server 2 and 3 , in the config of http.conf from that server on a vestacp , if its good if somebody contacts the landing server , and the domain is on server 2 or 3 the landing server will push it oninternet on a single ip ,its that easy but you must understand this.. you can have multi servers and virtual vmware servers if you now how...
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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