Forum Moderators: phranque

Message Too Old, No Replies

Dns Setup

Can an Apache and Microsoft Web Server coexist?

         

janeo

4:24 am on Jan 13, 2004 (gmt 0)



Hi! I have one static ip address. I have one Linux server using ip address 192.168.0.1 and a separate Microsoft server using ip address 192.168.0.2. I am currently running DNS on the Microsoft server. I also have a router.

Here's what I want to do. I want to be able to host 2 separate domains - www.domain1.com on the Apache Server and www.domain2.com on the Microsoft server - both using the same outside static ip address.

I've got www.domain2.com up and running on the Microsoft server. I have a ns record pointing to the Microsoft server, ns2.domain1.com. I had to open forward ports 80 and 53 in my router to my outside static ipaddress for this to work. In the DNS on my Microsoft server I had to put the outside ip address in the A record for www.domain2.com.

So, since I have port 80 forwarded to the microsoft server how can it forward http requests to the apache server? Any help is greatly appreciated.

plumsauce

7:53 am on Jan 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




ok, i'm a ms kinda guy.

but, i've heard that mod_proxy for apache can
do this. so you point both names to the linux
box, the linux box proxies the windows site.