DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old August 31st, 2002, 06:15 PM
dcarrco dcarrco is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 2 dcarrco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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)

Reply With Quote
  #2  
Old September 1st, 2002, 02:07 AM
cirox cirox is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 6 cirox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to cirox
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

Reply With Quote
  #3  
Old September 1st, 2002, 02:11 AM
dcarrco dcarrco is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 2 dcarrco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old September 1st, 2002, 02:56 AM
Paulblo Paulblo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: San Jose, CA
Posts: 57 Paulblo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 14 sec
Reputation Power: 8
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
__________________
Thank you,

Paul B Hepworth

Questions & Answers http://www.lds.org

Reply With Quote
  #5  
Old September 1st, 2002, 03:56 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Multiple Web Servers Through Gateway w/DNS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway