Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Apache (v)hosts on separate machines? Only 1 IP, proxy?

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  mod_rewrite and non-english letters / alphabets -..  
Author Message
starman7

External


Since: Mar 12, 2004
Posts: 1



(Msg. 1) Posted: Fri Mar 12, 2004 2:30 pm
Post subject: Apache (v)hosts on separate machines? Only 1 IP, proxy?
Archived from groups: alt>apache>configuration (more info?)

I have only one IP address, but need several sites (or vhosts), on
different machines (one UNIX, one Windows, etc.) the machines are
using NAT, and are behind a firewall/router, port 80 is open and can
be mapped to one internal NAT IP. The router is not very fancy.

I want all the websites to work on port 80. Ideally on different
machines, running Apache server instances. I could map drives, use
samba, etc. and just use one Apache installation w/ vhosts...

But, I'm curious, how could this be set up so that Apache (with some
mod perhaps, proxy?) could send http requests based on header to the
appropriate server machine.

Each server has 1 NIC. Though I suppose the UNIX ones could have
virtual interfaces (not that this is necessarily relevant)?

I don't understand the proxy concept so well, (nor many others), so
please forgive me if they are also irrelevant here.

Thanks for your time, and possible solutions!

-M

 >> Stay informed about: Apache (v)hosts on separate machines? Only 1 IP, proxy? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Fri Mar 12, 2004 10:59 pm
Post subject: Re: Apache (v)hosts on separate machines? Only 1 IP, proxy? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mooky Mooksgill <starman7.TakeThisOut@hotmail.com> wrote:
 > But, I'm curious, how could this be set up so that Apache (with some
 > mod perhaps, proxy?) could send http requests based on header to the
 > appropriate server machine.

Yes, use mod_proxy, you can 'map' the various machines as different
directories or servers on a single machine acting as 'portal'.

See the documentation of mod_proxy.

Davide

--
| Are you scared of speed? If so, then try Windows 95.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache (v)hosts on separate machines? Only 1 IP, proxy? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]