Results 1 to 2 of 2

Thread: 2 computers, 2 webservers, 1 ip, 2 domain-names

  1. #1

    2 computers, 2 webservers, 1 ip, 2 domain-names

    I have 2 computers which are both running Apache2 under FreeBSD
    Now i've forwarded port 80 to the first PC (Internal IP: 192.168.1.30), so when you type http://server.djuri.nl (port 80) (pointed to my ip) you reach the first PC.

    Now I have another PC (testserver with test versions like PHP5/MySQL5, Internal IP: 192.168.1.31), and i want it to be reachable under http://dev.djuri.nl (port 80) (also pointed to my ip).

    Is it possible to do that, and if so, how to do it?

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You need to setup apache proxy on one of your PCs and forward requests based on hostname. See apache docs.

Similar Threads

  1. How to run two webservers
    By sesamebike in forum WL-500g/WL-500gx Tutorials
    Replies: 36
    Last Post: 13-03-2007, 08:05
  2. Replies: 7
    Last Post: 16-05-2005, 13:39
  3. Is possible see computers behind router?
    By likeapear in forum WL-500g Q&A
    Replies: 1
    Last Post: 09-11-2004, 09:44
  4. local names not resolving correctly
    By ztp in forum WL-500g Custom Development
    Replies: 2
    Last Post: 28-07-2004, 14:23

Posting Permissions

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