severndigital Posted January 15, 2008 Share Posted January 15, 2008 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 Quote Link to comment Share on other sites More sharing options...
madmax Posted January 15, 2008 Share Posted January 15, 2008 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. Quote Link to comment Share on other sites More sharing options...
trq Posted January 15, 2008 Share Posted January 15, 2008 Surely this is better done in your router/firewall? Quote Link to comment Share on other sites More sharing options...
severndigital Posted January 16, 2008 Author Share Posted January 16, 2008 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 Quote Link to comment Share on other sites More sharing options...
madmax Posted January 17, 2008 Share Posted January 17, 2008 I guessed as much hehe 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. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 18, 2008 Share Posted January 18, 2008 Have a quick read of this thread: http://www.phpfreaks.com/forums/index.php/topic,172485.0.html -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.