LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2005, 10:39 PM   #1
jorg1
LQ Newbie
 
Registered: Mar 2005
Location: Norway
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
djbdns exteral cache


I have a question about domains, dns and ipadresses.

At the moment I have two domains, and I want to set up two separate web servers and two separate mail servers for these domains. They HAVE to be set up on two different boxes. I.e box1 contains web server1 and mail server1, while box2 contains web server2 and mail server2.

Now given these circumstances, would it be possible to set this up on a local NATed network with only one external IP?

The problem of course is that when i set up my first web server I forward port 80 to the first box, and then I have to use another port for the second web server so my clients have to type e.g. :81 after the URL in their browser.

Is there a way to avoid having to type the port number in the browser address line in this particular case?

The same problem will of course happen with mail as there is only one default port.

All boxes will be set up using linux, apache, qmail and djbdns. I will have my own dns server(tinydns) representing these domains.

Thanks for any replies

Edit: I'm not getting any answers here... Is this not possible? Should I just wait until I can get my hands on two separate external IPs?

Last edited by jorg1; 10-11-2005 at 07:18 AM.
 
Old 10-11-2005, 06:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
hey, don't be so impatient....

in the abscence of having a small primary server to proxy both sites, i'd suggest using one box to proxy the other via mod_proxy in apache.
 
  


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
Sendmail Relay-Domains From External Server littlenicker Linux - Networking 3 05-25-2005 12:45 PM
Two domains, one IP address, two servers PowerMatt Linux - Software 2 10-19-2004 02:35 PM
Postfix upgrade from 1.x to 2.0.19 can't relay to external domains issinflight Linux - Software 0 04-19-2004 11:42 PM
configuring sendmail to use external mail servers tt826 Linux - Networking 42 12-05-2003 12:13 PM
Relay email for specific domains to an external address on a non-standard port BaDaBooM Linux - Networking 2 03-18-2003 11:40 PM


All times are GMT -5. The time now is 02:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration