Find the answer to your Linux question:
Results 1 to 2 of 2
I have a webserver (i call it karichan) runnign Kubuntu apache mysql & php. It hosts several of my websites: hackerlabs.net forums.hackerlabs.net jedite83.hackerlabs.net I am setting up a second server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3

    2 server on 1 port


    I have a webserver (i call it karichan) runnign Kubuntu apache mysql & php.
    It hosts several of my websites: hackerlabs.net forums.hackerlabs.net jedite83.hackerlabs.net

    I am setting up a second server (called hippie) which will host hippie.hackerlabs.net but they need to be on port 80. my router sends all requests on port 80 to karichan. How would i get it so requests to hippie.hackerlabs.net are forwarded to the server hippie.

    I have read that it can be done with some sort of proxing in apache but I cannot find any decent instructions i understand.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    I think you are looking for this
    apache reverse proxy - Google Search

    but unless its because of a resource issue and neither server can handle both websites, I don't know why you don't simplify it and run both websites on the same apache. Its much easier to manage 1 server vs 2 unless there is a real need
    apache name based virtual host - Google Search
    and/or search this forum for "name based virtual host"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •