LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-24-2003, 07:07 PM   #1
gjmwalsh
Member
 
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 63

Rep: Reputation: 15
DNS setup for 3 urls, one external statiic IP


We are about to add 2 new software sites to an existing one. All 3 sites are pointing to the same external static IP. The configuration includes 3 nic cards, dual processors, Apache2, sendmail, and dns(bind 9.2).

Eth0 is assigned 192.168.10.0. It is the private lan used for software development and will allow no incoming internet traffic period. eth0:1 and eth0:2 are associated with the private addresses for the other 2 sites.

Eth1 is what some folks refer to as a dmz. It serves the web and mail traffic separately for each of the 3 sites. There are (will be) restrictions as to incoming traffic, but outgoing will be unrestricted.

Eth2 is the router to the internet.

This seems at first needlessly complicated, but I have 2 considerations in mind. First, I want to easily break out any site as it ibuilds traffic and move it to a colocation with minimum upheaval.

Secondly, I have to remember that because the sites will require SSL, I must use IP numbers, not names, for virtual hosting, and probably 2 instances of Apache as well. Setting up dns in this way should make maintenance easier.

I'm a veteran program developer, familiar with all these components, but multiple sites on one server is not something I have had to attempt in the past.

If anyone would care to comment or critique, your insight and help would be very much appreciated, and I'll do my very best to reciprocate when problems come up that I know my way around in.

My thanks
 
Old 07-25-2003, 02:11 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
create 3 dns A records for the ips

create virtual hosts on Apache

Check this page

http://www.serverwatch.com/tutorials...le.php/1127571
 
  


Reply



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
how to check urls and stop internet urls in network gface Linux - Networking 5 03-24-2005 09:48 PM
dns server can't lookup external zones dskny Linux - Software 0 11-17-2004 09:41 PM
External DNS BOX dboogie Red Hat 0 05-19-2004 02:24 PM
hosting interal and external DNS on same server scheidel21 Linux - Networking 2 03-13-2004 07:14 PM
External Harddrive setup blahJake Linux - Hardware 1 12-25-2003 08:54 PM

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

All times are GMT -5. The time now is 12:18 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