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 December 2nd, 2003, 03:17 PM
bschwart bschwart is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 bschwart User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
2 DNS entries, 1 IP

I'm kind of a newbie, and I'm not sure this is the right place for this, but perhaps someone can help me.

I have 2 Domain Names (a.com, b.com) which map to the same IP address. That IP address consists of a router which has a basic firewall and routes all web requests on port 80 to an internal ip address. What I want to do is, based on what Domian Name is accessed, route that request to a certain internal machine.

For example, when someone accesses a.com, it will be routed to 10.10.10.1, but when b.com is hit, it gets routed to 10.10.10.2. These are internal address that the router gives the machines and aren't accessable to the public.

Thanks!

Reply With Quote
  #2  
Old December 2nd, 2003, 04:50 PM
Zeron Zeron is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: BC, Canada
Posts: 32 Zeron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 47 sec
Reputation Power: 5
You would need to use a proxy inforon of the web servers to do the mapping for you (Apache can do this).

Reply With Quote
  #3  
Old December 2nd, 2003, 11:25 PM
bschwart bschwart is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 bschwart User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks... I was looking through mod_proxy and started playing with that, although I could only get a.com and b.com to go to the same machine with ProxyPass (ProxyPass / URL). I was trying to use RemoteProxy (RemoteProxy URL URL), but that did nothing. How would I tell the incoming request to route b.com URL's to the b.com machine and a.com requests to the a.com machine?

Reply With Quote
  #4  
Old December 3rd, 2003, 07:04 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
by having a.com resolve to one LAN ip and b.com resolve to the other LAN ip. You can do this with the hosts file on the proxy machine or you can setup a DNS server. If you already have a DNS server and it is the one that resolves both domains to the same IP, then you can use "views" to have the DNS server resolve to local addresses for local lookups, and the public address for public lookups.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > 2 DNS entries, 1 IP


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