Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Mar 17, 2008 11:20 pm 
Offline

Joined: Mon Mar 17, 2008 10:55 pm
Posts: 1
Hi all-

I just purchased and am interested in doing a few things with this space. First thing I want to make sure I get right is the DNS because without that things kinda suck. Here's what I want to do. My primary domain is mikeshome.org which is the hostname for the linode I just got. I am adding in apache2 and postfix on ubuntu 7.10 but have to admit to being a bit unsure about the best way to use the domain manager to add a second domain which is not a subdomain of the first. I'd like to add a domain I have access to and can change the DNS for and have the linode deal with that mail too. This is a completely separate domain; but I want the "mail" server to provide for it. I know how to setup virtual domains and forwarders in postfix pretty well and I know how to write up apache2 configs. I'm a bit unsure with the DNS manager how I add this second domain which is unique to the first. I've added the primary one in already and changed the name servers at register.com to point to linode.

Thanks for any help. Sorry if this is a basic question but I'm just at that point in things and want to make sure I get it right.

Mike


Top
   
 Post subject:
PostPosted: Tue Mar 18, 2008 3:02 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
I'm not sure I'm going to answer your question, because I'm not completely sure what your question is, but here's some comments, and we can work from there. :-)

1. You probably don't want "mikeshome.org" to be a hostname or A record in your DNS. Others may disagree, but I've found it eventually leads to confusion and awkward problems. Instead, you want to name your linode something like "linode.mikeshome.org" (or cujo.mikeshome.org, or whatever makes you happy) and then use CNAME records to direct "mikeshome.org" and "www.mikeshome.org" to "cujo.mikeshome.org"

2. For mail, you need an MX record in the *other* domain's DNS setup that references cujo.mikeshome.org. You also need your postfix on cujo to accept mail from other.domain. Basically, this means adding "other.domain" to the mydestination parameter and/or whatever virtual user setup you need.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Tue Mar 18, 2008 6:11 pm 
Offline
Junior Member

Joined: Sun Dec 02, 2007 1:17 am
Posts: 27
Website: http://www.nabber.org
Hi Mike, I'm not sure exactly what you are asking either so let me say what I think you are asking.

You have mikeshome.org setup for email and are running postfix on your linode to handle it. You want this same postfix install to handle mail for someotherdomain.com as well.

The answer is you just need to point the MX record for someotherdomain.com to mikeshome.org. Something like:

someotherdomain.com. 14400 IN MX 0 mikeshome.org.

Thats all, its just that easy. The harder part is setting up postfix to properly handle all of this new mail. You also might find my DNS Check tool helpful:

http://www.nabber.org/projects/dnscheck/

Neil


Top
   
 Post subject:
PostPosted: Tue Mar 18, 2008 7:55 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
nabber00 wrote:
You also might find my DNS Check tool helpful:

http://www.nabber.org/projects/dnscheck/

Neil

I just tried this out - it looks really, really useful.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group