Two servers, one for milling and one for the site with the same domain

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Webmin version 2.105
Usermin version 2.005
Virtualmin version 7.9.0 Pro
Theme version 21.09.5
Package updates All installed packages are up to date

hello friends please I have two servers I want the first to manage the milling and emails and the second to manage the site all with one domain name please how to do that thank you very much

Mr @Joe you can help about this

what’s “milling” ?? can someone edit that in the topic subject :slight_smile:

Thank you sir but we are not here for the spelling mistakes what I know is here to help each other thank you very much

I will rephrase my question if you are interested in helping me I have two servers and only one domain name I want the first server to manage only the email part and the second server to manage only the website part but both with a single domain name THANKS

so, you have two Ubuntu servers, each with a different IP address?

While I have zero Ubuntu experience, in general I would think — invent a couple of DNS entries, such as mx.example.com, mail.example.com and even smtp.example.com, along with of course www.example.com and example.com

on one server, the webserver, have it handle the website using (most likely) an A record in DNS for the naked name example.com along with the DNS entry for the WWW name, pointing to this server. Naturally in Virtualmin have ‘website’ enabled/configured. I am not sure how important it is to have, nor NOT have, mail enabled on this server – others may have advice on this part.

on the second server, in Virtualmin, do NOT have ‘website’ enabled but just enable mail for the domain name. This server is where the other DNS names will point to (MX, MAIL, SMTP). For mail to go to this 2nd server, in DNS you must have an MX entry pointing to this server (using the name mx.example.com if you like that format of naming – the DNS mx entry/name can be anything that points to the 2nd server). As you may recall, the DNS mx entry tells the world – HEY send mail going to this name, OVER THERE, do not follow any dns info typically used to display the website.

Using names like MAIL and SMTP could help in configuring user software like Thunderbird and Outlook.

Sorry I don’t have more details, I rarely use Virtualmin for email so have very limited experience, hope this helps a bit.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.