Two domains in one droplet with google MX records

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 and my secondary domain is how to configure both doamins with G-Suite MX records?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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 ?