Advertisement

apache domain redirection - how to?

Started by September 27, 2005 02:08 PM
0 comments, last by frob 19 years, 1 month ago
Hello I've got a linux box with apache2 running and dealing with virtual hosts. I wonder if it's at all possible, and if so - how to do it, to redirect one of the domains to a diffrent ip web server. in other words: linux box ip: 192.168.1.5 with domains: domain1.com domain2.com domain3.com windows box ip: 192.168.1.10 with domain: domain1.com can i remove domain1.com from linux and make apache redirect all domain1.com url queries to 192.168.1.10 web server? thank you in advance peter
Yes.

In your DNS server, reroute domain1.com to the other box. Get both boxes on their own public IP address, rather than a private address. They're cheap.

This topic is closed to new replies.

Advertisement