LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-11-2001, 03:14 AM   #1
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
Virtual Domains


Does anyone know how to set up virtual domains on my redhat box?
i.e. more than one domain, lets say 4 all aliased to the same machine.
Do i just alias them all to my primary domain or IP number or something?

Or has it nothing to with aliasing?

The purpose of my experiment is writing mail filter software. Hence, i need to set up a few domains from which i can then test out my filter files on.

Apache will not be used in this set up, only an MTA [exim].



Cheers in advance

Last edited by gene_gEnie; 09-11-2001 at 12:27 PM.
 
Old 09-11-2001, 01:02 PM   #2
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Original Poster
Rep: Reputation: 15
More info cos i really need da help...

what i want to do is; Have four domains, e.g
a.domain.org
b.domain.org
c.domain.org
d.domain.org

This will not be live on the net, it's purely for experimental purposes.
Then i want numerous email addresses, e.g

john@a.domain.org
jumpupndown@b.dowmain.org
etc etc

this will all be aliased to one mail box which i have already on my machine.

I am using Exim to do the mail transfer which can handle the aliasing for the mail boxes no probs, i was just a little perplexed as to what zone files to create, what to stick in them, do i use CNAME for the other domains or do they have their own zone file...
i think you've already answered that one but im still not exactly clear on what it is i need. (relative newbie here <-)

any more help much appreciated
 
Old 09-16-2001, 01:56 PM   #3
no2nt
Member
 
Registered: Aug 2001
Location: South Carolina, USA
Distribution: Redhat 8.0/Custom
Posts: 96

Rep: Reputation: 16
vdomains

Basically virtual domains are several domains pointing to the same ip address. Just set up a root domain (say donothing.org) and add several A or CNAME records to it with the same ip. Example:
Code:
@	IN	SOA	rafiki.webeguys.com. bmenking.bigfoot.com. (
			1111116
			300
			60
			432000
			38400 )
		IN	NS		rafiki.webeguys.com.
		IN	A		209.235.213.114
		IN	MX	100	menking.net.
www		IN	CNAME		menking.net.
mail		IN	CNAME 		menking.net.
april		IN	CNAME		menking.net.
cc		IN	CNAME		menking.net.
stats		IN	CNAME		menking.net.
As you can see www, mail, april, cc, stats all point to the same ipaddress.
 
  


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
Sub Domains & Virtual Hosts oO_SwooP_Oo Linux - General 11 09-21-2005 02:07 PM
Freeradius and Virtual Domains chinitobutnotchinese Linux - Security 0 06-29-2005 07:54 AM
Postfix and virtual domains nvargas Linux - Software 6 03-12-2004 02:35 PM
Virtual Domains on Sendmail??? Hein-ZA Linux - Networking 1 07-18-2003 09:39 AM
Sendmail Virtual Domains jmnovak Linux - Newbie 0 03-12-2003 10:49 AM


All times are GMT -5. The time now is 05:17 AM.

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