Use a different server for a mail server with the same domain name.

I have an Ubuntu web server hosted on linode.

I have the domain register that I want to use in the meantime for email while I setup and learn about hosting a mail server.

My question is, what do I need to follow in order to have the mail.domain.com point to the other company, and my server here know where to send mail?

Thanks!

2 Replies

There's two different kinds of DNS records that will help in this situation. The first is an A record which is what points people to your website, and the second is an MX record which tells emails sent to your domain where to go. You can point your domain's MX record to where you'd like your emails to go, and they'll get there even if the A record is pointing to a different location.

If you'd like you can set up a new Domain Zone in the Linode DNS Manager for your domain, and add one of each kind of record.

That was way to simple, worked like a charm.

Appreciate the quick response, thanks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct