|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Multiple Web Servers Through Gateway w/DNS
I have a domain name, lets say BIGDOMAIN.COM
which resolves to 24.123.123.34 DNS server on that server, called BEELZEBUB IIS5 running on that server, which is fine returns web pages great BEELZEBUB also a gateway using Internet Connection Sharing to share internet to another computer, lets call that ARCHANGEL so, BEELZEBUB has a second NIC card, IP 192.168.0.1 ARCHANGEL, through hub, set to 192.168.0.2 What I want to do is have ARCHANGEL run APACHE so that someone could go to ARCHANGEL.BIGDOMAIN.COM and BEELZEBUB will pass along the request and APACHE will answer it any ideas? i have tried hosts, alias, etc BEELZEBUB running W2K Server with IIS5, DNS, WINS ARCHANGEL running W2K Pro with Apache (latest) |
|
#2
|
|||
|
|||
|
Well, this seems very familiar to me. The anwser is (sadly) it cannot be done with "conventional" methods. I'm not saying it's undoable, but I didn't get it to work out.
The Solution - Apache is the best way to go here. Ditch IIS and use Apache, since its virtual domain support can do this for you. In your Apache httpd.conf file, add these lines to the bottom: NameVirtualHost 24.123.123.34 <VirtualHost 24.123.123.34> ServerAdmin bob@BIGDOMAIN.com DocumentRoot C:/apache/httpd/root/ ServerName www.BIGDOMAIN.com </VirtualHost> <VirtualHost 24.123.123.34> ServerAdmin joe@BIGDOMAIN.com DocumentRoot C:/apache/httpd/cirox/ ServerName ARCHANGEL.BIGDOMAIN.com </VirtualHost> Using that method, you can have as many whatever.BIGDOMAIN.com's you want just as long as your DNS server has A records for each of these "Virtual Domains", plus it saves you a machine ![]() |
|
#3
|
|||
|
|||
|
but... but... there isnt a way?
so there isnt a way to forward http requests to another machine through some creative DNS solution? i was hoping to run both IIS and Apache so i could so some PHP/MySQL ASP/MS SQL2000 comparisons over a real internet framework.
hmmmm. d. |
|
#4
|
|||
|
|||
|
I can be done
This is one of the reasons why linux is so great. It can be done in 5 minutes by adding a route in the .1 routing table and adding a virtual interface in the.2 Nic to an external ip. Making a fire wall rule with iptables would be nice as well. I aknow linkux but have little experience with IIS.
Good Luck |
|
#5
|
|||
|
|||
|
If I understand your questions (in terrible format: without comma and period; break lines when it's not supposed to; split paragraph at the wrong moment) correctly, you are trying make your ARCHANGEL running on LAN to be reachable to the outside world.
There are dozen ways to accomplish it whether you are running Apache on M$ or UNIX. Please do a search with the search keyword: rewriterule proxy under my username as it has been discussed and answered hundred of times. BTW your idea of using ARCHANGEL.BIGDOMAIN.COM is a good start. Make sure people from the outside world can reach it though. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Multiple Web Servers Through Gateway w/DNS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|