Two domains in one droplet with google MX records

May 7, 2018 1.5k views
LAMP Stack Email Ubuntu 16.04 Apache

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?

2 Answers

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 ?

Have another answer? Share your knowledge.