LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Multi Email/MX on One IP (http://www.linuxquestions.org/questions/linux-server-73/multi-email-mx-on-one-ip-792599/)

tomehb 03-02-2010 08:25 AM

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

acid_kewpie 03-02-2010 08:29 AM

yes aboslutely, just set the MX record for that subdomain and you're away.

tomehb 03-02-2010 11:50 AM

Thankyou....
 
Quote:

Originally Posted by acid_kewpie (Post 3882504)
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 :)

acid_kewpie 03-02-2010 12:47 PM

Well what do you expect to achieve? What is the consequence you expect from two domains coming to one IP?

tomehb 03-02-2010 01:39 PM

Quote:

Originally Posted by acid_kewpie (Post 3882860)
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 (Post 3882860)
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!

acid_kewpie 03-02-2010 01:44 PM

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.


All times are GMT -5. The time now is 06:13 PM.