Jump to content

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

I guessed as much hehe :D

 

If you have a firm grasp of vhosts you're more than likely to understand port-forwarding.

Maybe a better fw/router might be a cheaper solution in terms of time and effort??

Or perhaps something like freesco or whatever??? Just a thought.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.