Jump to content

vhost to another ip address


severndigital

Recommended Posts

ok .. i have a relatively firm grasp of the basics of virtual hosts.

 

however, this one is outside my realm of knowledge.

 

I would like to have a domain name .. goingcrazy.myplace.net

 

when requests come in on that address .. i would like the apacher server to send them to a completely different machine in the building.

 

for example lets say my main server is (demonstration only)

 

1.2.3.75

 

and the second server address is

 

1.2.3.80

 

 

what, if anything, can I do with apache to send requests from goinginsane.myplace.net to the 1.2.3.80 server instead of the 1.2.3.75 server?

 

does that make sense??

 

I've read apache manual and all i can see is how to have multiple incoming ip addresses .. but how do i direct to multiple internal ip address??

 

thanks,

chris

Link to comment
https://forums.phpfreaks.com/topic/86166-vhost-to-another-ip-address/
Share on other sites

Mod_proxy http://httpd.apache.org/docs/2.0/mod/mod_proxy.html

 

Don't know a huge amount about it as I've never really had call to play with it. It can be a bit fiddly to set up and I understand there are a few snafus to watch for - esp if you have interations between rewrite rules.

Surely this is better done in your router/firewall?

 

I completely agree. However, I am unable to route a specific port, in this case port 80, to multiple internal IP addresses.

 

I have been dodging the need to do so, but perhaps it is time to setup a proxy server.

 

:-[ :-[

 

Man .. I already have too much to do

 

-Cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.