LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2004, 06:43 PM   #1
elvee
Member
 
Registered: Aug 2004
Distribution: mandrake 10
Posts: 38

Rep: Reputation: 15
dns woes


I got bind working. Works fine from my computer, however I got a small problem.

I have 3 computers in my household. all three have servers of some kind, but 2 have web servers. Is it possible to access both from outside without changing the ports?
All 3 computers are connected to a router. the router currently points to one apache server. My domain is ares.radonmedia.com (sharing domain with friend). I was curious if it would be possible to make it so typing in aaa.ares.radonmedia.com would forward to one computer, and bbb.ares.radonmedia.com would forward to another computer, making both servers easily accessable from the outside. i managed to accomplish this from my computer, but not from any others. Would it be possible? and if so, how would I go about doing it?
 
Old 09-29-2004, 08:53 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
You could do this directly if your router supports it, but it is likely that it doesn't.

One possible way to do this: if your router only supports forwarding port 80 traffic, forward it to aaa.ares, and set up a virtual server for bbb.ares on that machine. Then use mod_proxy and the ProxyPass/ProxyPassReverse directives to redirect / for that virtual server to bbb.ares. See here: http://httpd.apache.org/docs/mod/mod_proxy.html
 
Old 09-29-2004, 09:33 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Your problem has nothing to do with DNS. Like CroMagnon said, you router apparently doesn't support multiple IPs, so you can't give each site it's own external IP. The only alternative is make them both resolve to the same IP and use virtual hosts in the scheme that CroMagnon explained.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
More DNS woes in the operation of DNS turnbui Linux - Networking 0 09-05-2005 10:14 PM
DNS Woes cortj Linux - Networking 0 03-07-2005 05:28 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration