Multiple VPS behind one public IP

Home Page Forums Network Management ZeroShell Multiple VPS behind one public IP

This topic contains 5 replies, has 0 voices, and was last updated by  thegmin 9 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #41719

    thegmin
    Member

    Hi 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.
    Gabriel

    #48226

    thegmin
    Member

    anyone? 🙄

    #48227

    abale
    Member

    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.

    #48228

    abale
    Member

    I 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.

    #48229

    thegmin
    Member

    Ok 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. 🙂

    #48230

    cewongq
    Member

    Hello,

    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.11

    Is 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.

    #48231

    thanks for postings 🙂

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.