Find the answer to your Linux question:
Results 1 to 2 of 2
Is it possible to have Apache2 point a virtual host towards a different machine? The reason I ask is that I have already set my router to point port 80 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    65

    Apache2 virtual hosts: Point to a different machine?


    Is it possible to have Apache2 point a virtual host towards a different machine?
    The reason I ask is that I have already set my router to point port 80 toward my primary server, and I would like to avoid complicated mod_rewrite setups. The reason for having it on a separate machine is my sister wants to maintain a site as practice and It would be extremely hard for her to do all her work over ssh.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,844
    You should be alble to do this with DNS - e.g. point server2.yourdomain.org at the IP address for her internet connection, rather than at your regular server for yourdomain.org.

    Of course, if you're not on different internet connections, and you're both behind the same firewall, then let her use a VNC session or simlar on your server to do the work on.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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