hosting emails with directadmin box while the website on another windows box

maynards

Verified User
Joined
Apr 1, 2010
Messages
5
I have: domain1.com

hosted on serverboxa which is running by windows

and I've my own serverboxb which centos running directadmin

How Can i keep the website hosting (files, web ..etc) on servera but only the emails to be hosted on serverb?

Would I add a domain on directadmin and then add mx record? but what mx record should I add this way?

bit confused, any help will be highly appreciated
 
Hello,

Yes, you should add your domain1.com into directadmin, and update A record for your MX record to point to IP of directadmin server.
As if you've got

Code:
domain1.com.       600     IN      MX      10 mail

then you should point

mail.domain1.com to IP of the directadmin powered server.

Code:
mail   600     IN      A       111.222.111.222

where IP 111.222.111.222 is supposed to be IP of the directadmin powered server.
 
Thanks alot for replying

but, should I do anything on behalf of the windows server? like deleting the local mx record

or should I add anything in the domain panel through Godaddy?
 
I don't know anything about Windows hosting, so I can't hep you with that. Anyway your Windows box should know that you host your mail remotely. So just try to send an email from your Windows server an see whether directadmin powered server will get your email or not.
 
I don't know anything about Windows hosting.
I do; I'm actually registered with MS as a Windows hosting partner, and I get their notices and other mailings (though I don't currently run any Windows based servers).

Windows webservers don't host email by default. To do that you'd have to buy the appropriate version of Exchange or some other email program for windows (for example, Mailtraq (mailtraq.com), of which I was the North America distributer many years ago.

So you should not host MX records pointing to the Windows server unless the server is set up for receiving the email. And not that unless you're running a specific bundled edition (I believe Microsoft no longer offers the Small Business Server) Microsoft recommends separate (virtual or physical) systems for each service.

Jeff
 
I was just keeping in mind an option something similar to that one, which we have in Directadmin called "Local Mail Server". If there is nothing on Windows Server, then I guess there is nothing to worry about.

Maybe offtopic... but though... how then a site on Windows server sends email notifications? Is there any kind of sendmail or the only way is to use remote SMTP or relay?
 
It's been a long time and I really don't remember, but of course there could be outgoing email without a full-fledged email server; even a simple script can send email using telnet or a simple exe file. For example, look here (glob.com).

Jeff
 
Back
Top