Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-29-2004, 06:43 PM
|
#1
|
Member
Registered: Aug 2004
Distribution: mandrake 10
Posts: 38
Rep:
|
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?
|
|
|
09-29-2004, 08:53 PM
|
#2
|
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900
Rep:
|
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
|
|
|
09-29-2004, 09:33 PM
|
#3
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 05:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|