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
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
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.