Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-11-2001, 03:14 AM   #1
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
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

This will not be live on the net, it's purely for experimental purposes.
Then i want numerous email addresses, e.g
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
Registered: Aug 2001
Location: South Carolina, USA
Distribution: Redhat 8.0/Custom
Posts: 96

Rep: Reputation: 16

Basically virtual domains are several domains pointing to the same ip address. Just set up a root domain (say and add several A or CNAME records to it with the same ip. Example:
@	IN	SOA (
			38400 )
		IN	A
		IN	MX	100
mail		IN	CNAME
april		IN	CNAME
stats		IN	CNAME
As you can see www, mail, april, cc, stats all point to the same ipaddress.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:07 AM.

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