Home Page › Forums › Network Management › ZeroShell › Multiple VPS behind one public IP
- This topic is empty.
-
AuthorPosts
-
June 12, 2009 at 8:04 am #41719
thegmin
MemberHi all,
I have some questions, which bother me from months. Is it possible to have multiple VPS / with different internal IP’s / every to have a mail server and
apache with vhosts behind a zeroshell box with 1 public IP? I dont know how to make the redirection, because I am only limited to one publci IP from mi ISP. Thanks in advance.
GabrielJune 24, 2009 at 11:07 am #48226thegmin
Memberanyone? 🙄
July 1, 2009 at 12:44 am #48227abale
MemberThe question isn’t that simple, actually.
Yes, you can have multiple internal servers using Zeroshell with only 1 public IP. However, there are some distinct limitations.
You can choose to forward each port to a different IP. Thus, something like Port 80 – HTTP traffic – could be forwarded to one machine while say port 27015 (Source Game Server) could be forwarded to another.
As long as you only wanted to see one VPS (which I assume means virtual private server) handling each port of traffic – thus all ‘web servers’ at port 80 on one private IP – this works.
If you are trying to figure out how to host a separate domain (http://www.yoursite1.com and http://www.yoursite2.com) each on a different internal server using 1 IP, then you need a reverse proxy which understands host headers. That is a more complex topic, and currently I have not seen a way for Zeroshell to do that.
July 1, 2009 at 12:46 am #48228abale
MemberI suppose in the idea of being ‘nice’, I should also point out the page that you are looking for within Zeroshell:
Go to the ‘Router’ on the left column.
Go to ‘Virtual Server’ in the top header.Click add to specify port and target internal IP.
As a disclaimer – if this page in Zeroshell makes no sense to you, you will need to read a lot more on general routing.
July 1, 2009 at 9:46 am #48229thegmin
MemberOk I forwarded for the moemnt everything to one virtual server and all sites are there as vhosts. I’ll try mod_proxy these days and give response. 🙂
July 1, 2009 at 7:40 pm #48230cewongq
MemberHello,
I have to do that.. one public IP address with several domains in different servers, like:
subdomain1.domain.com -> 192.168.0.10
subdomain2.domain.com -> 192.168.0.15
subdomain3.domain.com -> 192.168.0.11Is there an external package to do this? What can I use with zero shell?
Thanks.
@abale wrote:
The question isn’t that simple, actually.
Yes, you can have multiple internal servers using Zeroshell with only 1 public IP. However, there are some distinct limitations.
You can choose to forward each port to a different IP. Thus, something like Port 80 – HTTP traffic – could be forwarded to one machine while say port 27015 (Source Game Server) could be forwarded to another.
As long as you only wanted to see one VPS (which I assume means virtual private server) handling each port of traffic – thus all ‘web servers’ at port 80 on one private IP – this works.
If you are trying to figure out how to host a separate domain (http://www.yoursite1.com and http://www.yoursite2.com) each on a different internal server using 1 IP, then you need a reverse proxy which understands host headers. That is a more complex topic, and currently I have not seen a way for Zeroshell to do that.
September 16, 2009 at 2:44 pm #48231johnsonfredral
Memberthanks for postings 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.