By dahdoul
I know how to configure Virtual Hosts, but how configure two domains in the same droplet to use G-Suite MX records using Digital Ocean DNS from the Dashboard?
For Example:-
my main domain is example.com and my secondary domain is example2.com how to configure both doamins with G-Suite MX records?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
There is nothing special needed for this configuration. Despite sharing the same droplet for web, as far as google is concerned for email these are two completely separate domains. You can set up the gmail MX records for both with our built in tool located in the MX section of the DNS tool.

Thank you, so I add two domains via DNS tool, then setup gmail records for each domain separably ?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.