LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-02-2010, 07:25 AM   #1
tomehb
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Rep: Reputation: 0
Post Multi Email/MX on One IP


Hi,

Just wondering if its possible to have the following setup..

One IP Address
Domain Name: mydomain.com
Sub Domain: sub.mydomain.com

The MX Records for mydomain.com point to google, which is good..
When someone sends an email to myemail@mydomain.com it goes to my google account....

however is it possible to point sub.mydomain.com to some place different i.e to mta.mydomain.com ?

Regards

Thomas
 
Old 03-02-2010, 07:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
yes aboslutely, just set the MX record for that subdomain and you're away.
 
Old 03-02-2010, 10:50 AM   #3
tomehb
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Post Thankyou....

Quote:
Originally Posted by acid_kewpie View Post
yes aboslutely, just set the MX record for that subdomain and you're away.
Even though sub.domain.com and domain.com have the same IP addresses though? Just checking before i attempt to figure out bind9
 
Old 03-02-2010, 11:47 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Well what do you expect to achieve? What is the consequence you expect from two domains coming to one IP?
 
Old 03-02-2010, 12:39 PM   #5
tomehb
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Post

Quote:
Originally Posted by acid_kewpie View Post
Well what do you expect to achieve?
All email sent to anyaddress@mydomain.com to be forward to:

ASPMX.L.GOOGLE.COM 1
ALT1.ASPMX.L.GOOGLE.COM 5
etc...

and then all email that goes to anyaddress@mymail.mydomain.com
to go to>
mta.mydomain.com

Quote:
Originally Posted by acid_kewpie View Post
What is the consequence you expect from two domains coming to one IP?
I expected it all to go to Google, as I thought it would resolve to the IP address, and then see the MX Records for that IP being for Google....
my Crappy Logic!
 
Old 03-02-2010, 12:44 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Lost.

You said originally you wanted the subdomain to go to somewhere that wasn't google. Where does this "one IP" come into the question? From the context of MX records, there is never just one IP at all, indeed there are NO IP's, just FQDN's for google's MX's which are resolved however google see fit.
 
  


Reply

Tags
dns, email, mta, mx, subdomain


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
multi email question rbblue Linux - Networking 2 08-31-2008 08:50 AM
LXer: Linux powers multi-protocol, multi-frequency wireless switch LXer Syndicated Linux News 0 11-03-2006 09:54 AM
Email and multi-distro machine idris1388 Linux - Software 6 03-21-2004 07:42 AM
how do multi routing for email server? masroor Linux - Networking 1 12-02-2003 08:37 AM
setup multi domains email in postfix importboy03 Linux - Software 1 04-29-2003 04:06 PM


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